Errror when restarting a node to sync blocks after setting halt-height in app.toml #5350
Closed
Description
opened on Dec 2, 2019
Summary of Bug
Gracefully halt the node at certain block height works fine, but I am not too sure if this is normal behavior that the node can't be restarted to sync blocks after specifying halt-height=0
.
Dec 2 09:13:21 ip-172-31-18-43 gaiad[701]: I[2019-12-02|09:13:21.921] starting ABCI with Tendermint module=main
Dec 2 09:13:22 ip-172-31-18-43 gaiad[701]: panic: state.AppHash does not match AppHash after replay. Got
Dec 2 09:13:22 ip-172-31-18-43 gaiad[701]: 9A9117C8C3859FB7D63D968F7E757840AAA0C077A1942CA4AC7F65A711C1860F, expected .
Dec 2 09:13:22 ip-172-31-18-43 gaiad[701]: State: {{{10 0} 0.32.7} gaia-13006 10 0 A6B0CD6774A61043F3CE7AAF3C9BBEAF462DEE5ACEAE8758FBA9CE8E12EAE9A3:1:1684DAD04B89 2019-08-20 18:13:22.889296243 +0000 UTC ValidatorSet{
Dec 2 09:13:22 ip-172-31-18-43 gaiad[701]: Proposer: Validator{4A34D913697AF5ED8D61C120E20178DFE234D70A PubKeyEd25519{FFE0064A296FED20269821373E78B6330C3915BCB4C0872F26CA9DA4D488B109} VP:210015 A:-953619}
................................................................................................
................................................................................................
................................................................................................
Dec 2 09:13:22 ip-172-31-18-43 gaiad[701]: Did you reset Tendermint without resetting your application's data?
Dec 2 09:13:22 ip-172-31-18-43 gaiad[701]: goroutine 1 [running]:
Dec 2 09:13:22 ip-172-31-18-43 gaiad[701]: github.com/tendermint/tendermint/consensus.assertAppHashEqualsOneFromState(0xc000b547c0, 0x20, 0x20, 0xa, 0x0, 0xc0004a5c36, 0x6, 0xc0004a5c50, 0xa, 0xa, ...)
Version
Gaia v2.0.3 - Cosmos SDK v0.37.4
Steps to Reproduce
Gaia 13006 Testnet
- Set
halt-height = 100
inapp.toml
- Start syncing to see if the node gracefully halts.
- Set
halt-height = 0
inapp.toml
- Restart to sync
- Failed with
Wrong Block Header App Hash
error message.
For Admin Use
- Not duplicate issue
- Appropriate labels applied
- Appropriate contributors tagged
- Contributor assigned/self-assigned
Activity