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.
what's the reasoning for supporting legacy amino?
tac0turtle
left a comment
There was a problem hiding this comment.
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/paramsmodule withinx/mint.x/paramsfunctionality and implementation withinx/mint. Note, there is zero dependency onx/paramsnow apart fromtypes/params_legacyandexported/, which should be removed after the next major release. These are only needed for migrations.x/govmodule account that will execute the newMsgUpdateParamsmessage.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.mdReviewers 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