-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
State export and genesis migration fails from v0.39.1 to v0.40.0-rc1 #7779
Comments
Also, we have rc2 over the corner - I would suggest debugging and redoing using rc2. What do you think? |
You need to provide an implementation of the tendermint conversion. This is done here. |
rc2 is now tagged if you'd like to test again against that. Zaki is correct in that you do need to provide a manual migration for the tendermint consesnsus params. That needs to happen either as part of an application migrate script, or externally via PS- @anilcse let's make sure we include the requirement about migrating tendermint consensus params in the migration guide docs you're working on |
In the attached issue.tar.gz, the genesis file looks good (tendermint conversion has already been done correctly). However, I couldn't reproduce the panic with the attached |
Thanks @zmanian , looks like these changes are covered in migrate command already. @amaurymartiny for bigbang-1 testnet upgrade failure, looks like it is an issue with upgrade-handler, it didn't handle the state migrations (still debugging on this). For migrate + upgrade, it was just an issue with config files. We needed to update the config files and it's working! Planning an internal testnet tomorrow to cross check this upgrade path and will close this issue once after the testing. |
Your migration command also need to provide intitialization state for new modules if you are upgrading like IBC. |
Fixed by @amaurymartiny |
Summary of Bug
Chain crashes with the following error after exporting state and migrating genesis from v0.39.1 to v0.40.0-rc1
Version
State export version:
Cosmos SDK version: v0.39.1
Akash version: v0.8.1
Genesis migration version:
Cosmos SDK version: v0.40.0-rc1
Branch name: bigbang
Steps to Reproduce
Exporting state from v0.8.1 binary:
Building the bigbang version of akashd and executing the following:
Copying the new genesis to config directory and starting the chain:
Folder with original genesis, exported state and migrated genesis: issue.tar.gz
For Admin Use
The text was updated successfully, but these errors were encountered: