bnb-chain / node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

latest binary can't sync from genesis for testnet

yutianwu opened this issue · comments

I[2023-01-17|16:43:08.071] Loading order book snapshot from last breathe block module=main blockHeight=0
I[2023-01-17|16:43:08.072] No breathe block is ever saved. just created match engines for all the pairs. module=main 
I[2023-01-17|16:43:13.467] Executed block                               module=state height=1 validTxs=0 invalidTxs=0
I[2023-01-17|16:43:13.472] Committed state                              module=state height=1 txs=0 appHash=78CBD5768F5FA22F29526F16F7734852E87082A954C3E14B1AACF15195DC48A1
panic: Failed to process committed block (2:528B0E798A20433C53CDDED44EE9C98D0941AF53885320590B8829DD4584D057): Wrong Block.Header.AppHash.  Expected 78CBD5768F5FA22F29526F16F7734852E87082A954C3E14B1AACF15195DC48A1, got 25F6369B3BF83BD6262E7504BA3BFA10AE4A214A6B6207DB1FB116A93829F0CB

goroutine 225 [running]:
github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).poolRoutine(0x14000c72d00)
        github.com/tendermint/tendermint@v0.32.3/blockchain/v0/reactor.go:404 +0x1214
created by github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).OnStart
        github.com/tendermint/tendermint@v0.32.3/blockchain/v0/reactor.go:127 +0x80

When syncing from genesis for testnet with the latest binary, it will complain the app hash of the first block is not the same as the testnet.