feat: add v2.0.0 upgrade handler#142
Merged
Merged
Conversation
- Add app/upgrades/v2_0_0/ with constants (UpgradeName, StoreUpgrades) and upgrade handler (noop with RunMigrations) - Register v2.0.0 handler in app.go setupUpgradeHandlers() - Wire store loader for v2.0.0 store key additions/deletions - Update e2e upgrade tests: base version v1.1.2 → v1.2.0, upgrade target → v2.0.0
Remove separate v2_0_0 package — keep everything inline in setupUpgradeHandlers() matching existing v1.1.0/v1.2.0 pattern.
phenix3443
approved these changes
Mar 31, 2026
This file contains hidden or 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
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.
Summary
app/upgrades/v2_0_0/withUpgradeName,StoreUpgrades(added/deleted store keys), andCreateUpgradeHandlersetupUpgradeHandlers()with store loader wiringv1.2.0, upgrade targetv2.0.0Files changed
app/upgrades/v2_0_0/constants.go— upgrade name + store key changesapp/upgrades/v2_0_0/upgrades.go— upgrade handler (noop + RunMigrations)app/app.go— register handler + store loadere2e/kind/tests/test_upgrade_*.sh— update base/target versionsTest plan
go build ./...passesOLD_VERSION=v1.2.0 bash tests/test_upgrade_governance.shOLD_VERSION=v1.2.0 bash tests/test_upgrade_hardfork.shOLD_VERSION=v1.2.0 bash tests/test_upgrade_comprehensive.sh🤖 Generated with Claude Code