-
Notifications
You must be signed in to change notification settings - Fork 108
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
refactor: deprecate x/params #2014
Merged
Merged
Conversation
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
skosito
changed the base branch from
remove-broadcastmode-block
to
feat-cosmos-sdk-0.47.10-upgrade
April 17, 2024 15:25
skosito
changed the title
refactor: deprecate x/params [wip]
refactor: deprecate x/params
Apr 17, 2024
lumtis
reviewed
Apr 19, 2024
lumtis
approved these changes
Apr 22, 2024
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.
Looks good to me, just a minor refactoring that would be better I think
kingpinXD
reviewed
Apr 22, 2024
kingpinXD
reviewed
Apr 22, 2024
kingpinXD
reviewed
Apr 22, 2024
kingpinXD
reviewed
Apr 22, 2024
kingpinXD
reviewed
Apr 22, 2024
kingpinXD
reviewed
Apr 22, 2024
kingpinXD
reviewed
Apr 22, 2024
kingpinXD
reviewed
Apr 22, 2024
kingpinXD
reviewed
Apr 22, 2024
kingpinXD
reviewed
Apr 22, 2024
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.
minor changes requested , and one point of discussion
#2014 (comment)
kingpinXD
approved these changes
Apr 23, 2024
10 tasks
10 tasks
lumtis
added a commit
that referenced
this pull request
May 3, 2024
* Remove broadcast mode block wip * Fixes * Changelog * PR comments * Lint fix * refactor: remove fungible params (#2004) * Remove unused params from fungible module * Make generate * Changelog * Lint fix * Lint fix * Fix changelog * Revert proto indexes * Make generate * refactor: deprecate x/params (#2014) * Remove unused params from fungible module * Make generate * Changelog * Lint fix * Lint fix * Migrate emissions params to store * Migrate observer params to its own store * Make generate * Changelog * Lint fixes * Add observer slash amount param to migrate script * Fix tests * Lint fixes * Fixes * Lint fixes * Fixes * Tests * Small cleanup * Remove not needed params store mock * Fixes after merge * Add found flag to get params method * Move ballot maturity blocks param to emissions module * Remove params from observer module * Fix build * PR comments * PR comment * PR comments * PR comments * feat: cosmos v0.47 upgrade (#2039) * proto fixes after merge * Fix tx proto emissions * fixes * make generate * remove tendermint usage * Update changelog * fix test * add some logs to proto gen script * permissions * add more logs * test * test * test * test * test * test * test * test * test * test * cleanup * cleanup * always format proto before generation * generate explicit format deps * set docker username to fix permissions in CI * dummy proto change to test formatting * set buf cache directory * Revert "dummy proto change to test formatting" This reverts commit 7e5c0dc. * refactor: update go-tss (#2094) * Remove unused params from fungible module * Make generate * Changelog * Lint fix * Lint fix * Migrate emissions params to store * Migrate observer params to its own store * Make generate * Changelog * Lint fixes * Add observer slash amount param to migrate script * Fix tests * Lint fixes * Fixes * Lint fixes * Fixes * Tests * Small cleanup * Try upgrade with simapp change * Remove not needed params store mock * fix compile errors * proto changes * Fixes * Upgrade handler changes * Fixes * Fix e2e test * Fixes after merge * Add found flag to get params method * Move ballot maturity blocks param to emissions module * Remove params from observer module * Fix build * Regen proto * Fixes for e2e tests * Fix some unit tests * Fix some lint errors * Fix more unit tests * PR comments * Proto paths fixes * Linters * make typescript * proto format * make specs * make docs * make gen * lint * Fix some unit tests * Fix cli test suites * Fix lints * Tmp comment unit test * lint * Use latest ethermint change and fix test * PR comment * PR comments * Fix one more import * Cleanup * Lint fix * Bump zetachain ethermint * Remove cometbft replace * go mod tidy * bump ethermint * Revert replace * Bump ethermint * Proto files updates after merge * Make generate * Bump ethermint * Fix PR comments * Formatting * Mention observer params removal in breaking changes in changelog * bump ethermint * Remove tendermint dep after go-tss upgrade * go mod tidy * bump go-tss * changelog * changelog --------- Co-authored-by: Alex Gartner <[email protected]> Co-authored-by: Lucas Bertrand <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Based on this: https://github.com/cosmos/cosmos-sdk/pull/12363/files
Done for emissions module, observer params are removed and BallotMaturityBlocks param is moved from observer to emissions module. Also, introducing ObserverSlashAmount as param in this PR in migration.
This is still not upgrading cosmos.
I tested this upgrade locally using develop as old version and
make start-upgrade-test
.Closes: #848 #1898
Type of change
Refactor
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Include instructions and any relevant details so others can reproduce.
Checklist: