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

got Issues when start a new node from state-sync #1159

Closed
liangping opened this issue Mar 27, 2022 · 7 comments
Closed

got Issues when start a new node from state-sync #1159

liangping opened this issue Mar 27, 2022 · 7 comments

Comments

@liangping
Copy link

11:51AM INF Found local state with non-zero height, skipping state sync
11:51AM INF ABCI Handshake App Info hash="��\x15�\x10K\v���#\x11\x1b�^ͬ���LoTK���E�)2�" height=3755000 module=consensus protocol-version=0 software-version=7.0.4
11:51AM INF ABCI Replay Blocks appHeight=3755000 module=consensus stateHeight=3755000 storeHeight=3755001
11:51AM INF Replay last block using real app module=consensus
Error: error during handshake: error on replay: wrong Block.Header.Version. Expected {11 0}, got {11 1}

version: 7.0.4

@faddat
Copy link
Member

faddat commented Mar 30, 2022

The bad thing is This means that you are getting further than me.

If you are getting the above result then you should use the script in the scripts folder and that will use a modified version of tendermint to correctly set the app version

https://github.com/osmosis-labs/osmosis/blob/main/scripts/statesync.sh

@liangping
Copy link
Author

liangping commented Mar 30, 2022

I tried that as well. It's a temporary solution.

@faddat
Copy link
Member

faddat commented Apr 16, 2022

@liangping did the script work?

It no longer works for me 😢

@liangping
Copy link
Author

I tried yesterday. It works

@liangping liangping reopened this Apr 17, 2022
@faddat
Copy link
Member

faddat commented Apr 21, 2022

crazy!

I am very confused to hear that it is working for you, just from running the script.

I have not been able to state sync for a long time now

@liangping
Copy link
Author

liangping commented Apr 22, 2022

Sorry, I did NOT use that script. I mean the patch works.

the approach is:

  • state-sync normally. you will halt after it's done, because of the block version.
  • clone tendermint patch. run it manully.

@ValarDragon
Copy link
Member

Closing in favor of #1805

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants