-
Notifications
You must be signed in to change notification settings - Fork 833
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
chore(inflation): Deprecate x/params usage in x/inflation #1107
Conversation
… for the new message
ENG-582 Fix inflation params
CurrentInflation params are not defines as the expected convention:
ExpectedInflation params should be
NotesThis change requires a store migration |
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.
Awesome work Vlad! Left a few comments and questions
Co-authored-by: Tomas Guerra <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: Tomas Guerra <54514587+GAtom22@users.noreply.github.com>
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.
tACK! Two minor comments
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
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.
Thanks @Vvaradinov, the parameter change proposal passes, it should also update the inflation rate
EDIT: let's coordinate about those changes with @danburck
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1107 +/- ##
==========================================
- Coverage 77.02% 76.82% -0.20%
==========================================
Files 146 149 +3
Lines 8022 8061 +39
==========================================
+ Hits 6179 6193 +14
- Misses 1662 1682 +20
- Partials 181 186 +5
|
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Description
Deprecate the usage of the now legacy Cosmos SDK params module within x/inflation.
As of 0.47.0 The Cosmos SDK x/params module has been deprecated in favor of each module housing and providing way to modify their parameters. Each module that has parameters that are changeable during runtime have an authority, the authority can be a module or user account. The Cosmos-SDK team recommends migrating modules away from using the param module. An example of how this could look like can be found cosmos/cosmos-sdk#12363.
Closes: ENG-1076, ENG-582
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.
PR review checkboxes:
I have...
Unreleased
section inCHANGELOG.md
Code maintenance:
I have...
godoc
and code comments.docs/
) or specification (x/<module>/spec/
)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...