-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
feat: deprecate x/params usage in x/mint #12363
Conversation
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
…osmos-sdk into bez/x-mint-migrate-params-12286
} | ||
|
||
// RegisterLegacyAminoCodec registers concrete types on the LegacyAmino codec | ||
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { |
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.
what's the reasoning for supporting legacy amino?
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, seems you are missing a query to see the params, also this would be a good PR to start introducing a upgrading.md file. Any chances you can knock it out quickly
My PR for the upgrading.md is coming tomorrow, sorry about the delay 🙈 |
Codecov Report
@@ Coverage Diff @@
## main #12363 +/- ##
==========================================
- Coverage 66.04% 65.65% -0.39%
==========================================
Files 692 683 -9
Lines 72603 71549 -1054
==========================================
- Hits 47949 46977 -972
+ Misses 21984 21929 -55
+ Partials 2670 2643 -27
|
No it's not because the API layer remains unchanged -- all that changed was the storage and management mechanism. From the user's PoV nothing changed. This applies to all modules. |
Description
Deprecate the usage of the now legacy
x/params
module withinx/mint
.x/params
functionality and implementation withinx/mint
. Note, there is zero dependency onx/params
now apart fromtypes/params_legacy
andexported/
, which should be removed after the next major release. These are only needed for migrations.x/gov
module account that will execute the newMsgUpdateParams
message.closes: #12286
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change