Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
What happened?
We added CosmWasm support to our chain and tried to upgrade our devnet. However, we stumbled on
panic: error loading last version: failed to load latest version: version of store wasm mismatch root store's version; expected 571999 got 0; new stores should be added using StoreUpgrades
We wrote interchaintest/chain_upgrade_test.go
in liftedinit/manifest-ledger#118 and sometime it fails with the error above, sometime everything is fine and the upgrade/test is successful.
I'm not sure what's going on.
The upgrade handler can be found in app/upgrades/next/upgrades.go
Cosmos SDK Version
0.50.11
How to reproduce?
Checkout the branch related to liftedinit/manifest-ledger#118
Run make local-image
and make ictest-chain-upgrade
.
The test might pass. Run it again until it fails.