-
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
Add Taker Fee Query #6680
Add Taker Fee Query #6680
Conversation
devbot help |
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.
Don't we need CLI for this as well as add to the query server? It seems this isn't registered rn
Would also feel good to run this on localosmosis if possible to prove the query works, after adding CLI and registering the message.
Co-authored-by: Adam Tucker <[email protected]>
Co-authored-by: Adam Tucker <[email protected]>
I didn't add CLI on purpose(didn't see any need for it), but on the second thought, why not :)
|
* Add trader fee query * Generated protofile changes * Add Taker fee * Add querier logic * Generated protofile changes * Add grpc guery.go * Generated protofile changes * Update proto/osmosis/poolmanager/v1beta1/query.proto Co-authored-by: Adam Tucker <[email protected]> * Update proto/osmosis/poolmanager/v1beta1/query.proto Co-authored-by: Adam Tucker <[email protected]> * Add cli * Generated protofile changes * register query in query server --------- Co-authored-by: github-actions <[email protected]> Co-authored-by: Adam Tucker <[email protected]> Co-authored-by: Adam Tucker <[email protected]> (cherry picked from commit 144e088)
* Add trader fee query * Generated protofile changes * Add Taker fee * Add querier logic * Generated protofile changes * Add grpc guery.go * Generated protofile changes * Update proto/osmosis/poolmanager/v1beta1/query.proto Co-authored-by: Adam Tucker <[email protected]> * Update proto/osmosis/poolmanager/v1beta1/query.proto Co-authored-by: Adam Tucker <[email protected]> * Add cli * Generated protofile changes * register query in query server --------- Co-authored-by: github-actions <[email protected]> Co-authored-by: Adam Tucker <[email protected]> Co-authored-by: Adam Tucker <[email protected]> (cherry picked from commit 144e088) Co-authored-by: Matt, Park <[email protected]>
* Add trader fee query * Generated protofile changes * Add Taker fee * Add querier logic * Generated protofile changes * Add grpc guery.go * Generated protofile changes * Update proto/osmosis/poolmanager/v1beta1/query.proto Co-authored-by: Adam Tucker <[email protected]> * Update proto/osmosis/poolmanager/v1beta1/query.proto Co-authored-by: Adam Tucker <[email protected]> * Add cli * Generated protofile changes * register query in query server --------- Co-authored-by: github-actions <[email protected]> Co-authored-by: Adam Tucker <[email protected]> Co-authored-by: Adam Tucker <[email protected]>
Closes: #XXX
What is the purpose of the change
Adds taker fee query and add it to stargate whitelist.
Needed for necessary calculations for all contracts that have dependency on calculation.
Testing and Verifying
This change is a trivial rework / code cleanup without any test coverage.
Documentation and Release Note
Unreleased
section ofCHANGELOG.md
?Where is the change documented?
x/{module}/README.md
)