-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move the call to registerUpgradeHandlers back down to where that stuff was originally so that we can have it inject an upgrade which now overwrites the pre-blocker (instead of begin-blocker). * Add the consensus params to the list of added modules for umber. * inject the umber upgrade (and add a TODO to remove it). * Use the correct type for the marker module's max supply param entry. * Fix the os locator params migration. Make it just set it to the default. Those params never got defined in testnet, and mainnet has an empty entry for it. So both were just using the default value there anyway. * Fix the name params migration to properly identify the keytable. * Fix the ibchooks params migration. * Small cleanup in app.New to reuse stuff from the sdk config. * Refactor app.SetConfig(bool, bool) to be able to switch back to mainnet after initially being changed to testnet. * Move the EnvTypeFlag and CoinTypeFlag variables into the interceptor with some other flags so that we can use them in there as needed. * Add key tables to all the params subspaces. Needed now because the migrations all failed because the needed keys weren't registered. * Tweak the log messages in migrateBaseappParams to better reflect what's being done (all of the params stuff is 'legacy' now, so it didn't really describe what was happening. * Delete the call to injectUpgrade. * Add nolint:staticcheck to all the newly added calls to the deprecated ParamKeyTable functions. * Fix double import. * Fix the umber tests to have the expected log messages for the consensus params migration (that I updated a few commits ago). * Add changelog entry.
- Loading branch information
1 parent
2058ec2
commit f40ef8f
Showing
10 changed files
with
182 additions
and
109 deletions.
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
Oops, something went wrong.