lightchain
lightchain copied to clipboard
Tendermint state.AppHash does not match AppHash after replay
The above error still happens from time to time. Either when 1) node is not shutdown gracefully 2) on lost of internet connection.
Full details:
2020-06-25T15:41:04.292+0200 DEBUG lethexec/exec.go:39 LN-SIRIUS: INFO [06-25|15:41:04.292] ABCI Replay Blocks engine=consensus module=consensus appHeight=980063 storeHeight=980063 stateHeight=980063
2020-06-25T15:41:04.293+0200 DEBUG lethexec/exec.go:31 LN-SIRIUS: Node resulted in panic: Tendermint state.AppHash does not match AppHash after replay. Got 49C7ED5F01CD945A6FC9C1F90DA6AC41CA970B4159D64BC71934BB7091121D50, expected 3B55D31C1A531F464A38460FD0733A721E83F141EB88D35AAE66BA4F157B83A9.
2020-06-25T15:41:04.293+0200 DEBUG lethexec/exec.go:31 LN-SIRIUS: goroutine 1 [running]:
2020-06-25T15:41:04.293+0200 DEBUG lethexec/exec.go:31 LN-SIRIUS: runtime/debug.Stack(0xc009509c60, 0x4d92320, 0xc0005ec1a0)
2020-06-25T15:41:04.294+0200 DEBUG lethexec/exec.go:31 LN-SIRIUS: /usr/local/Cellar/go/1.13.8/libexec/src/runtime/debug/stack.go:24 +0x9d
2020-06-25T15:41:04.294+0200 DEBUG lethexec/exec.go:31 LN-SIRIUS: main.main.func1()
2020-06-25T15:41:04.294+0200 DEBUG lethexec/exec.go:31 LN-SIRIUS: /Users/enchanterio/go/src/github.com/lightstreams-network/lightchain/cmd/lightchain/main.go:45 +0x6e
2020-06-25T15:41:04.294+0200 DEBUG lethexec/exec.go:31 LN-SIRIUS: panic(0x4d92320, 0xc0005ec1a0)
2020-06-25T15:41:04.294+0200 DEBUG lethexec/exec.go:31 LN-SIRIUS: /usr/local/Cellar/go/1.13.8/libexec/src/runtime/panic.go:679 +0x1b2
2020-06-25T15:41:04.294+0200 DEBUG lethexec/exec.go:31 LN-SIRIUS: github.com/lightstreams-network/lightchain/vendor/github.com/tendermint/tendermint/consensus.checkAppHash(0x9, 0x0, 0xc0001b4b20, 0x6, 0xc0001b0d40, 0x1b, 0xef45f, 0x828c, 0xc0001b0d60, 0x20, ...)
2020-06-25T15:41:04.294+0200 DEBUG lethexec/exec.go:31 LN-SIRIUS: /Users/enchanterio/go/src/github.com/lightstreams-network/lightchain/vendor/github.com/tendermint/tendermint/consensus/replay.go:461 +0x188
2020-06-25T15:41:04.294+0200 DEBUG lethexec/exec.go:31 LN-SIRIUS: github.com/lightstreams-network/lightchain/vendor/github.com/tendermint/tendermint/consensus.(*Handshaker).ReplayBlocks(0xc00950b800, 0x9, 0x0, 0xc0001b4b20, 0x6, 0xc0001b0d40, 0x1b, 0xef45f, 0x828c, 0xc0001b0d60, ...)
2020-06-25T15:41:04.294+0200 DEBUG lethexec/exec.go:31 LN-SIRIUS: /Users/enchanterio/go/src/github.com/lightstreams-network/lightchain/vendor/github.com/tendermint/tendermint/consensus/replay.go:362 +0xafa
2020-06-25T15:41:04.294+0200 DEBUG lethexec/exec.go:31 LN-SIRIUS: github.com/lightstreams-network/lightchain/vendor/github.com/tendermint/tendermint/consensus.(*Handshaker).Handshake(0xc00950b800, 0x5399760, 0xc000396c40, 0x2, 0x5386ba0)
2020-06-25T15:41:04.294+0200 DEBUG lethexec/exec.go:31 LN-SIRIUS: /Users/enchanterio/go/src/github.com/lightstreams-network/lightchain/vendor/github.com/tendermint/tendermint/consensus/replay.go:264 +0x537
2020-06-25T15:41:04.294+0200 DEBUG lethexec/exec.go:31 LN-SIRIUS: github.com/lightstreams-network/lightchain/vendor/github.com/tendermint/tendermint/node.NewNode(0xc0001e7b80, 0x537ec60, 0xc0000e7cc0, 0xc0000be790, 0x535c840, 0xc008fb05a0, 0xc00033f4a0, 0xc00950ba60, 0xc00033f4b0, 0x5386ba0, ...)
2020-06-25T15:41:04.294+0200 DEBUG lethexec/exec.go:31 LN-SIRIUS: /Users/enchanterio/go/src/github.com/lightstreams-network/lightchain/vendor/github.com/tendermint/tendermint/node/node.go:266 +0x9e6
2020-06-25T15:41:04.294+0200 DEBUG lethexec/exec.go:31 LN-SIRIUS: github.com/lightstreams-network/lightchain/consensus.(*Node).Start(0xc00038bf40, 0xc0001b6b80, 0xc000294e00, 0x0, 0x0)