-
Notifications
You must be signed in to change notification settings - Fork 602
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
ProtoRev: CLI, Msg, and Query Server #4214
Conversation
baseDenomPriorities := []*types.BaseDenom{ | ||
{ | ||
Denom: types.OsmosisDenomination, | ||
StepSize: sdk.NewInt(1_000_000), | ||
}, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe I'm misunderstanding the word "priorities", shouldn't this read from genesis state?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(probably best resolved in a followup PR)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM aside from init genesis comment
Lets address the init genesis comment in a followup issue |
What is the purpose of the change
This PR implements the query server, message server, and CLI (#3594.)
Brief Changelog
Testing and Verifying
Documentation and Release Note
Keeper Updates
Where BaseDenom looks like the following
Queries
Transactions
Messages
NewMsgSetDeveloperAccount
The admin account broadcasts a
NewMsgSetDeveloperAccount
to set the developer account.Messsage stateless validation fails if:
Message stateful validation fails if:
NewMsgSetHotRoutes
The admin account broadcasts a
NewMsgSetHotRoutes
to set the hot routes.Message statless validation fails if:
Message stateful validation fails if:
NewMsgSetPoolWeights
The admin account broadcasts a
NewMsgSetPoolWeights
to set the pool weights. The pool weights roughly correspond to the execution time of a swap on that pool type (stable, balancer, concentrated).Message stateless validation fails if:
Message stateful validation fails if:
NewMsgSetMaxPoolPointsPerTx
The admin account broadcasts a
NewMsgSetMaxPoolPointsPerTx
to set the maximum pool points that can be consumed per transaction.Message stateless validation fails if:
Message stateful validation fails if:
NewMsgSetMaxPoolPointsPerBlock
The admin account broadcasts a
NewMsgSetMaxPoolPointsPerBlock
to set the maximum pool points that can be consumed per block.Message stateless validation fails if:
Message stateful validation fails if:
NewMsgSetBaseDenoms
The admin account broadcasts a
NewMsgSetBaseDenoms
to set the base denoms of the module. The base denoms are the denominations that the module will use to construct cyclic arbitrage routes. The order of the listsMessage stateless validation fails if: