Closed tmeinlschmidt closed 1 year ago
Hi there, I just tested but can't reproduce the error. Could you try the steps here and sync again to see if it goes well? https://docs.bnbchain.org/docs/beaconchain/develop/node/synctypes/#recover-from-state-sync-failure
Nope. I'm not able to get it to work. Can you please share your config.toml? To start syncing from the scratch, including full history? I always ended up with the same as above. btw - running in docker, but I assume there's no difference.
@tmeinlschmidt Can you try this release? The issue should be fixed now. https://github.com/bnb-chain/node/releases/tag/v0.10.13
0.10.13 works if I have state_sync_height = 0
. If I try to sync from the scratch using state_sync_height = -1
, I'm getting this:
I[2023-04-27|07:26:46.874] Relaying block for order book module=dex height=3715
I[2023-04-27|07:26:46.874] replayed all tx. Starting match module=dex height=3715
I[2023-04-27|07:26:46.874] No order comes in for the block module=dexkeeper
E[2023-04-27|07:26:46.883] Failed to load the latest breathe block height from module=dexkeeper timeNow=2020-07-09T08:08:08.821095341Z
I[2023-04-27|07:26:46.883] get last breathe block height module=main height=0
I[2023-04-27|07:26:46.884] reload latest snapshot module=statesync height=0
I[2023-04-27|07:26:46.891] ABCI Handshake App Info module=consensus height=3715 hash=C8313E653D6B2DF45B17FAE8D4D209E03F010D97717A60ED768AE3F4A9069710 software-version= protocol-version=0
I[2023-04-27|07:26:46.891] ABCI Replay Blocks module=consensus appHeight=3715 storeHeight=3716 stateHeight=3715
I[2023-04-27|07:26:46.891] Replay last block using real app module=consensus
and error
panic: Failed to process committed block (3716:19E761CE47854135F8345FA897E8AFF86BB3D1E28B3C8CE6477F3752C20082A8): Wrong Block.Header.LastResultsHash. Expected D00CF911DBF4BB4FF0AFBC6C312DB1292340D3962C6729B71FC9BFB9BC86BA3F, got 2E287AB6399A81813D7904B17CF4A3011D29D2C8155CD5C44BECD67CF4D54CC6
goroutine 271 [running]:
github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).poolRoutine(0xc00b6e2820)
github.com/tendermint/tendermint@v0.35.9/blockchain/v0/reactor.go:404 +0x15a8
created by github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).OnStart
github.com/tendermint/tendermint@v0.35.9/blockchain/v0/reactor.go:127 +0x7f
ERROR: error during handshake: error on replay: Wrong Block.Header.LastResultsHash. Expected D00CF911DBF4BB4FF0AFBC6C312DB1292340D3962C6729B71FC9BFB9BC86BA3F, got 2E287AB6399A81813D7904B17CF4A3011D29D2C8155CD5C44BECD67CF4D54CC6
ERROR: error during handshake: error on replay: Wrong Block.Header.LastResultsHash. Expected D00CF911DBF4BB4FF0AFBC6C312DB1292340D3962C6729B71FC9BFB9BC86BA3F, got 2E287AB6399A81813D7904B17CF4A3011D29D2C8155CD5C44BECD67CF4D54CC6
ERROR: error during handshake: error on replay: Wrong Block.Header.LastResultsHash. Expected D00CF911DBF4BB4FF0AFBC6C312DB1292340D3962C6729B71FC9BFB9BC86BA3F, got 2E287AB6399A81813D7904B17CF4A3011D29D2C8155CD5C44BECD67CF4D54CC6
@tmeinlschmidt It happened to me as well. When syncing from scratch in testnet, always panics at block #3715 That error is not related to a specific version. I was able to reproduce the error in 4-5 different versions.
They need to fix it somehow.
@tmeinlschmidt @nmiceli-simtlix Can you use state sync? Due to some historical reasons, testnet cannot sync from genesis block to the latest block via executing blocks one by one.
hm, with state_sync_height = 0
it works, any other height number causes panic: runtime error
. Weird. We wanted to have testnet with some history.
version 0.10.12 state sync set as described here: https://docs.bnbchain.org/docs/beaconchain/develop/node/synctypes
app + genesis from the release