gaia: gaia rpc node stop sync at block 15214022

Problem

I use gaia 9.0.1 before and it stop sync at block 15214022 today So I upgrade to 9.1.0 but meet followed error

panic: precommit step; +2/3 prevoted for an invalid block: wrong Block.Header.AppHash.  Expected 0ED75E0CE39A6D85C6BC634DF17C73F193B6DB8F5B9C08580F26A4E2CC174713, got 0E5196A05C8ACA00C7B130A3FE5B6855CD4DD0195BDB9F5F00B36C825479C2FE

then gaia restart

Problem details

3:30AM INF Replay: Vote blockID={"hash":"B1F35612D2B8EA1652781010DDE1058B8475CDDAA020D8B48F39D90F8A91515C","parts":{"hash":"014DF211A143DE3BD009850D5D242E71254BAB91273DB8CB3C74E7997D342406","total":1}} height=15214023 module=consensus peer=eb644d5ede024ce6083c0f1ca038eb41b257b795 round=1 type=1
3:30AM INF Replay: Vote blockID={"hash":"B1F35612D2B8EA1652781010DDE1058B8475CDDAA020D8B48F39D90F8A91515C","parts":{"hash":"014DF211A143DE3BD009850D5D242E71254BAB91273DB8CB3C74E7997D342406","total":1}} height=15214023 module=consensus peer=eb644d5ede024ce6083c0f1ca038eb41b257b795 round=1 type=1
3:30AM INF Replay: Vote blockID={"hash":"B1F35612D2B8EA1652781010DDE1058B8475CDDAA020D8B48F39D90F8A91515C","parts":{"hash":"014DF211A143DE3BD009850D5D242E71254BAB91273DB8CB3C74E7997D342406","total":1}} height=15214023 module=consensus peer=eb644d5ede024ce6083c0f1ca038eb41b257b795 round=1 type=1
panic: precommit step; +2/3 prevoted for an invalid block: wrong Block.Header.AppHash.  Expected 0ED75E0CE39A6D85C6BC634DF17C73F193B6DB8F5B9C08580F26A4E2CC174713, got 0E5196A05C8ACA00C7B130A3FE5B6855CD4DD0195BDB9F5F00B36C825479C2FE

goroutine 211 [running]:
github.com/tendermint/tendermint/consensus.(*State).enterPrecommit(0xc000265180, 0xe825c7, 0x1)
	github.com/tendermint/tendermint@v0.34.27/consensus/state.go:1414 +0x179f
github.com/tendermint/tendermint/consensus.(*State).addVote(0xc000265180, 0xc08259a140, {0xc01d03d020, 0x28})
	github.com/tendermint/tendermint@v0.34.27/consensus/state.go:2137 +0x188f
github.com/tendermint/tendermint/consensus.(*State).tryAddVote(0xc000265180, 0xc08259a140, {0xc01d03d020?, 0xc30511c400?})
	github.com/tendermint/tendermint@v0.34.27/consensus/state.go:1963 +0x2c
github.com/tendermint/tendermint/consensus.(*State).handleMsg(0xc000265180, {{0x264a0e0?, 0xc08254a5b8?}, {0xc01d03d020?, 0xc08257d320?}})
	github.com/tendermint/tendermint@v0.34.27/consensus/state.go:861 +0x44b
github.com/tendermint/tendermint/consensus.(*State).readReplayMessage(0xc000265180, 0x1db9141?, {0x0?, 0x0?})
	github.com/tendermint/tendermint@v0.34.27/consensus/replay.go:81 +0x87f
github.com/tendermint/tendermint/consensus.(*State).catchupReplay(0xc000265180, 0xe825c7)
	github.com/tendermint/tendermint@v0.34.27/consensus/replay.go:160 +0x71d
github.com/tendermint/tendermint/consensus.(*State).OnStart(0xc000265180)
	github.com/tendermint/tendermint@v0.34.27/consensus/state.go:324 +0x19b
github.com/tendermint/tendermint/libs/service.(*BaseService).Start(0xc000265180)
	github.com/tendermint/tendermint@v0.34.27/libs/service/service.go:144 +0x2e9
github.com/tendermint/tendermint/consensus.(*Reactor).SwitchToConsensus(_, {{{0xb, 0x0}, {0x0, 0x0}}, {0xc3051179a0, 0xb}, 0x4f5b97, 0xe825c6, {{0xc01c2fecc0, ...}, ...}, ...}, ...)
	github.com/tendermint/tendermint@v0.34.27/consensus/reactor.go:129 +0x197
github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).poolRoutine(0xc000180000, 0x0)
	github.com/tendermint/tendermint@v0.34.27/blockchain/v0/reactor.go:324 +0x115d
created by github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).OnStart
	github.com/tendermint/tendermint@v0.34.27/blockchain/v0/reactor.go:112 +0x7a

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 25 (7 by maintainers)

Most upvoted comments

@bb4L You can try gaiad rollback with v9.0.x, then restart with v9.1.0

I don’t recommend snapshots since they’re not as secure as state sync.

To state sync gaia v9.1.0 you do like:

git clone https://github.com/cosmos/gaia
cd gaia
bash contrib/statesync.bash

https://github.com/cosmos/gaia/releases/tag/v9.1.0 I guess related to this emergency release here.