terra-money / classic-core

GO implementation of the Terra Protocol
https://www.terra.money
Other
980 stars 287 forks source link

[BUG] 0.5.19 can not startup from block 7603702 #759

Closed lcgogo closed 2 years ago

lcgogo commented 2 years ago

Describe the bug 0.5.18 sync stop at block 7603702, but after upgrade to 0.5.19, meet followed error

3:07AM INF starting ABCI with Tendermint
3:07AM INF Starting multiAppConn service impl=multiAppConn module=proxy
3:07AM INF Starting localClient service connection=query impl=localClient module=abci-client
3:07AM INF Starting localClient service connection=snapshot impl=localClient module=abci-client
3:07AM INF Starting localClient service connection=mempool impl=localClient module=abci-client
3:07AM INF Starting localClient service connection=consensus impl=localClient module=abci-client
3:07AM INF Starting EventBus service impl=EventBus module=events
3:07AM INF Starting PubSub service impl=PubSub module=pubsub
3:07AM INF Starting IndexerService service impl=IndexerService module=txindex
3:07AM INF ABCI Handshake App Info hash="�C;O��\x14;I�\r\a@\x13�\x05c�|ϫ\x1b��OPɝc�#�" height=7603702 module=consensus protocol-version=0 software-version=
3:07AM INF ABCI Replay Blocks appHeight=7603702 module=consensus stateHeight=7603702 storeHeight=7603703
3:07AM INF Replay last block using real app module=consensus
Error: error during handshake: error on replay: wrong Block.Header.AppHash.  Expected E0433B4F86B1143B49CF0D074013DD0563D97CCFAB1BFFEB4F50C99D63D523AB, got CE66D7DA2CFD9F16C2F8E88EF382E6FAD1D0D03323C11667B16C253ED0C722BE

To Reproduce upgrade from 0.5.18

Context & versions 0.5.19

(if applicable) suggested solution If you know the solution to the bug, let us know!

lilmayu commented 2 years ago

Haven't they halted the blockchain?

yun-yeo commented 2 years ago

You need to restore with snapshot with quick sync, there was fork to disable delegation. https://quicksync.io/networks/terra.html