-
Notifications
You must be signed in to change notification settings - Fork 609
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
[CL]: Deprecate duplicated queries from gamm module #3905
Conversation
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 once comments are addressed and CI passes
Co-authored-by: Roman <roman@osmosis.team>
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 once CI passes
lockuptypes "github.com/osmosis-labs/osmosis/v13/x/lockup/types" | ||
swaprouterqueryproto "github.com/osmosis-labs/osmosis/v13/x/swaprouter/client/queryproto" |
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.
lockuptypes "github.com/osmosis-labs/osmosis/v13/x/lockup/types" | |
swaprouterqueryproto "github.com/osmosis-labs/osmosis/v13/x/swaprouter/client/queryproto" | |
gammtypes "github.com/osmosis-labs/osmosis/v13/x/gamm/types" | |
lockuptypes "github.com/osmosis-labs/osmosis/v13/x/lockup/types" |
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.
It seems you still need to remove the three queries from the stargate whitelist
After than and Roman's comments this LGTM
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.
After reading on of the other PRs, it looks like we need to keep these on the stargate whitelist. Probably just need to add a linter staticcheck
Closes: #3883
What is the purpose of the change
This PR deprecates three of the following queries from the gamm module since they have been moved to the swap rotuer module.
Protos remained undeleted but marked deprecated using the deprecation option in proto3.
This PR also removes the three queries from the stargate whitelist list.
Brief Changelog
Documentation and Release Note
Unreleased
section inCHANGELOG.md
? yesx/<module>/spec/
) / Osmosis docs repo / not documented)