-
Notifications
You must be signed in to change notification settings - Fork 607
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 query highest liquidity pools #4829
Conversation
Added label for non-state breaking, don't know if it should be backport or no-backport |
x/protorev/client/cli/query.go
Outdated
func NewQueryPoolCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevPoolRequest) { | ||
return &osmocli.QueryDescriptor{ | ||
Use: "pool [base_denom] [other_denom]", | ||
Short: "Query the pool id for a given denom pair stored in ProtoRev", |
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.
Update this based on the comment above.
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.
yeah, just want highest liquidity pools. Specified here: 821b247
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 with small nits.
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
Let's add a changelog entry for this and merge |
- protorev pool query will return pool id given a denom pair for the highest liquidity method
Co-authored-by: David Terpay <[email protected]>
8838a65
to
7049f01
Compare
Added in: 7049f01 and rebased on main, so should be ready to merge. |
* Update proto files for protorev pool query - protorev pool query will return pool id given a denom pair for the highest liquidity method * add grpc query handler logic for GetProtoRevPool query * Add cli query support * Add test for GetProtoRevPool query * Change endpoint to pool and re-gen proto code * add pool query in documentation * Specify the query is for highest liquidity method pools only * Change comment to represent query Co-authored-by: David Terpay <[email protected]> * change comments in proto file and generated pb * fix test comment * Add query to changelog --------- Co-authored-by: David Terpay <[email protected]> (cherry picked from commit 5f4beb7) # Conflicts: # CHANGELOG.md # x/protorev/client/cli/query.go # x/protorev/protorev.md
* Protorev query highest liquidity pools (#4829) * Update proto files for protorev pool query - protorev pool query will return pool id given a denom pair for the highest liquidity method * add grpc query handler logic for GetProtoRevPool query * Add cli query support * Add test for GetProtoRevPool query * Change endpoint to pool and re-gen proto code * add pool query in documentation * Specify the query is for highest liquidity method pools only * Change comment to represent query Co-authored-by: David Terpay <[email protected]> * change comments in proto file and generated pb * fix test comment * Add query to changelog --------- Co-authored-by: David Terpay <[email protected]> (cherry picked from commit 5f4beb7) # Conflicts: # CHANGELOG.md # x/protorev/client/cli/query.go # x/protorev/protorev.md * Resolve merge conflicts - Main issue I think is I rebased on main when I should've rebased on v15 since this was to be backported - I only added this entry into the changelog since the other changes may not be reflected in the backport --------- Co-authored-by: Jeremy Liu <[email protected]>
What is the purpose of the change
Brief Changelog
Testing and Verifying
Documentation and Release Note