-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cosmos): don't rerun store migrations on upgrade (#9683)
closes: #9682 ## Description Add logic to check if the upgrade plan name is a "primary name", and only run store migrations for those. Check in the upgrade handler that the first upgrade is using a primary name to ensure store migrations were run. ### Security Considerations None ### Scaling Considerations None ### Documentation Considerations None ### Testing Considerations a3p test for primary upgrade will run on this PR [mhofman/9682-test-double-upgrade](https://github.com/Agoric/agoric-sdk/tree/mhofman/9682-test-double-upgrade) tests applying primary followed by secondary upgrade ### Upgrade Considerations Fixes cosmos store upgrade logic during chain software upgrades
- Loading branch information
Showing
2 changed files
with
30 additions
and
6 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