smartbch / smartbch

smartBCH is an EVM&Web3 compatible sidechain for Bitcoin Cash
Apache License 2.0
117 stars 51 forks source link

wrong Block.Header.AppHash #48

Open 0xChupaCabra opened 2 years ago

0xChupaCabra commented 2 years ago

Hello, my node crashes while syncing. Here is a snippet of the log:

get bch block hash
get bch block: 729335
This Node ID: 2dc40e35a396a874ce97660409e0335e4f41218b
I[2022-02-28|09:43:43.421] Starting multiAppConn service                module=proxy impl=multiAppConn
I[2022-02-28|09:43:43.421] Starting localClient service                 module=abci-client connection=query impl=localClient
I[2022-02-28|09:43:43.421] Starting localClient service                 module=abci-client connection=snapshot impl=localClient
I[2022-02-28|09:43:43.421] Starting localClient service                 module=abci-client connection=mempool impl=localClient
I[2022-02-28|09:43:43.421] Starting localClient service                 module=abci-client connection=consensus impl=localClient
I[2022-02-28|09:43:43.424] Starting EventBus service                    module=events impl=EventBus
I[2022-02-28|09:43:43.424] Starting PubSub service                      module=pubsub impl=PubSub
I[2022-02-28|09:43:43.424] Starting IndexerService service              module=txindex impl=IndexerService
I[2022-02-28|09:43:43.425] ABCI Handshake App Info                      module=consensus height=3260729 hash=E30B31610A637F56538765573BEFE363916369537C24A659F5B84DB31496ED2A software-version= protocol-version=0
I[2022-02-28|09:43:43.425] ABCI Replay Blocks                           module=consensus appHeight=3260729 storeHeight=3260730 stateHeight=3260729
I[2022-02-28|09:43:43.425] Replay last block using real app             module=consensus
ERROR: error during handshake: error on replay: wrong Block.Header.AppHash.  Expected E30B31610A637F56538765573BEFE363916369537C24A659F5B84DB31496ED2A, got 9C5B74AE5CCB304F655968AADD64C00ED4D7B0C77665E8B8A5FB9ADA83A28162

How can I resolve the problem? Let me know if you need any other details. Thanks!

helldealer commented 2 years ago

Please refer to this issue #22