-
Notifications
You must be signed in to change notification settings - Fork 601
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
Statesync broken on v10.0.0 #1805
Comments
We have the exactly same issue while state-syncing. |
Thanks for the issue. Before we try anything to resolve this, I think we need to merge this first: #1698 and test again. That PR adds some logic for wiring wasm snapshotter correctly. We haven't had the time to include or test it for v10. This is likely to be unrelated to the main issue but I would like to note that the app version did not get increased to v10:
The expected should be 10. I suspect that it did not get increased because we did a fork instead of a regular upgrade CC: @czarcas7ic once we add logic for e2e testing forks, we should test the app version to be increased by 1 |
Got state sync to work with #1698 and osmosis-labs/cosmos-sdk#265 (WIP) I discovered that state sync snapshots do not share the param store. The app version was stored there. As a result, the app version would not be propagated to the state-synching node, resulting in the reported error. I made 2 changes. First, moved the app version to be stored in the multistore instead of the param store. Second, I had to make a breaking change where state-sync snapshots now include the app version and share it. As a result, the snapshot format is now different. Due to these 2 changes, the fix will have to go to v11 so that the state-machine and snapshot format are compatible across nodes. By then, I should finish setting up state sync in e2e to further confirm the correctness of the new change. So far I did a manual test between 2 full mainnet nodes where one had the other as persisted peer and pex off. Another important note is that node operators should not use cosmos/cosmos-sdk#10791 hack anymore. Once we release the fix, it should be working out of the box. Using the hack will break state sync. |
Thanks for the update. Look forward to v11. |
Closing for now, should be fixed in upcoming version! |
System information
Osmosis version: v10.0.0
OS & Version: Linux (most likely all OSes)
Commit hash: 7ca72c5
Expected behaviour
Chain successfully synced to last statesync snapshot.
Actual behaviour
Statesync fails with following error:
After setting expected app version and starting the chain again, I get following error:
Steps to reproduce the behaviour
The text was updated successfully, but these errors were encountered: