Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: e2e integration #5

Draft
wants to merge 5 commits into
base: nv/process-proposal
Choose a base branch
from
Draft

Conversation

nivasan1
Copy link

@nivasan1 nivasan1 commented Feb 7, 2024

In This PR

  • I introduce the Prepare / ProcessProposal Handlers into dydx to test that our logic roughly works
  • To try (make localnet-start), and subsequently (make localnet-compose-up)

}
// if err := umpt.pricesKeeper.PerformStatefulPriceUpdateValidation(umpt.ctx, umpt.msg, true); err != nil {
// return err
// }

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is temporary (just to make things work), we can remove this once we are aggregating prices that are proposed via GetValidMarketPriceUpdates instead of directly from sidecar

protocol/go.sum Outdated
github.com/skip-mev/slinky v0.2.1-0.20240205201114-084e56f076aa h1:19BBqLYZ5d83vVOHHJHY1pD3fbJbdJn6SprzYlk/BS4=
github.com/skip-mev/slinky v0.2.1-0.20240205201114-084e56f076aa/go.mod h1:/ze8FaykAaF0wnxU9xtgzmoAYlTA1ibftejaG8mBzms=
github.com/skip-mev/slinky v0.2.1-0.20240207182816-93fd020dc214 h1:rqBnz5/29D0GYwpAlcSowOWn5RwH7u7HzZtyTcN3hnY=
github.com/skip-mev/slinky v0.2.1-0.20240207182816-93fd020dc214/go.mod h1:C3jPCOaezvch/1iIfSyRp4j4pF+22T33KPzdSY1V/0Q=
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR in slinky: skip-mev/connect#90

@@ -182,15 +182,16 @@ func (k Keeper) performDeterministicStatefulValidation(

// Check price respects min price change.
if !isAboveRequiredMinPriceChange(marketParamPrice, priceUpdate.Price) {
return errorsmod.Wrapf(
// ignore the error + log
ctx.Logger().Error(errorsmod.Wrapf(
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also can remove once we propose prices via GetValidMarketPriceUpdates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant