-
Notifications
You must be signed in to change notification settings - Fork 104
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
register deprecated MsgSetVaultQuotingParams #2392
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
💡 Codebase verification
Deprecated message types are still in use within the codebase.
The verification script identified multiple instances where the deprecated
MsgSetVaultQuotingParams
andMsgUpdateParams
message types are still being utilized. These usages need to be updated to their respective replacement message types to ensure deprecated code is fully phased out.Affected Areas:
protocol/x/vault/types/codec.go
protocol/x/vault/types/tx.pb.go
protocol/lib/ante/unsupported_msgs.go
protocol/app/msgs/all_msgs.go
protocol/app/msgs/internal_msgs.go
Please refactor these instances to use the updated message types as specified in the deprecation notes.
🔗 Analysis chain
Summary: Changes align with PR objectives and follow best practices.
The additions to the
UnsupportedMsgSamples
map correctly register the deprecatedMsgSetVaultQuotingParams
andMsgUpdateParams
message types. This aligns with the PR objective of registering deprecated message types.The changes follow best practices by:
nolint:staticcheck
to suppress unnecessary warnings for deprecated code.These changes effectively communicate to developers that these message types should not be used in new code while maintaining backwards compatibility.
To ensure these message types are no longer used in the codebase, run the following script:
If the script returns any results, it might indicate areas of the codebase that need to be updated to use the new message types.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 40267