Skip to content
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

chain upgrade to 0.46 failed #12904

Closed
yihuang opened this issue Aug 11, 2022 · 0 comments · Fixed by #12906
Closed

chain upgrade to 0.46 failed #12904

yihuang opened this issue Aug 11, 2022 · 0 comments · Fixed by #12906
Labels

Comments

@yihuang
Copy link
Collaborator

yihuang commented Aug 11, 2022

Summary of Bug

When trying to upgrade a chain to cosmos-sdk 0.46, after restart with new binary, it paniced.
GetLastCompletedUpgrade panic because the store migration (added in #11800) has not happened yet.

Version

0.46/main

Steps to Reproduce

@yihuang yihuang changed the title test upgrade to 0.46 failed chain upgrade to 0.46 failed Aug 11, 2022
yihuang added a commit to yihuang/cosmos-sdk that referenced this issue Aug 11, 2022
otherwise, it panic because it expect the key is migrated
Closes: cosmos#12904
yihuang added a commit to yihuang/cosmos-sdk that referenced this issue Aug 11, 2022
otherwise, it panic because it expect the key is migrated
Closes: cosmos#12904
alexanderbez pushed a commit that referenced this issue Aug 11, 2022
* move downgrade verification after store migration

otherwise, it panic because it expect the key is migrated
Closes: #12904

* changelog
mergify bot pushed a commit that referenced this issue Aug 11, 2022
* move downgrade verification after store migration

otherwise, it panic because it expect the key is migrated
Closes: #12904

* changelog

(cherry picked from commit 6473e73)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants