Block header missmatch when syncing
DVOTE_DEV=True DVOTE_VOCHAIN=dev DVOTE_W3CONFIG_ENABLED=False ./dvotenode
When starting to sync on a clean, local environment, and compiled from master
, I get this error shortly after start:
2020-10-08T09:58:24Z INFO service/census.go:33 [census info] local:0 imported:0 loaded:0 queue:0/10 toRetry:0
2020-10-08T09:58:24Z INFO service/storage.go:34 [ipfs info] peers:47 addresses:1155 pins:0
2020-10-08T09:58:25Z INFO service/api.go:74 [router info] privateReqs:0 publicReqs:0
2020-10-08T09:58:25Z INFO service/vochain.go:174 [vochain info] height:29614 mempool:0 peers:7 processTree:0 voteTree:0 voteCache:0 blockTime:{}
2020-10-08T09:58:25Z DEBUG vochain/start.go:78 [tendermint error] Stopping peer for error {"peer": "Peer{MConn{168.119.97.229:26656} 588133b8309363a2a852e853424251cd6e8c5330 out}", "err": "EOF"}
2020-10-08T09:58:44Z INFO service/census.go:33 [census info] local:0 imported:0 loaded:0 queue:0/10 toRetry:0
2020-10-08T09:58:44Z INFO service/storage.go:34 [ipfs info] peers:39 addresses:1155 pins:0
2020-10-08T09:58:45Z INFO service/vochain.go:174 [vochain info] height:32378 mempool:0 peers:7 processTree:0 voteTree:0 voteCache:0 blockTime:{}
2020-10-08T09:58:52Z DEBUG scrutinizer/process.go:207 added new entity c70bf82ade15bc4ed87b6984611b2a8b25cd936735e2b4447e016a12dd600cfe to scrutinizer
2020-10-08T09:58:52Z INFO scrutinizer/process.go:163 add new process a0a73b58d16f35147c4082c9b66b43a08635cf5f9ac3291bc0e424192b494d72 to live results
panic: Failed to process committed block (33467:705BA1D778A9913628B574427D7B24F85422EB9F6980BE3470834A87A43FC5C1): wrong Block.Header.AppHash. Expected C9C25014395E745405394B7A1D3BAC0B8B022047DD49BDC94D6AF52261BDCF5E, got 3BD3F5EC694D5A9DC8094F7EE1CBFDD486E3E760C373A22258F3AB8B6ACF73A6
goroutine 804 [running]:
github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).poolRoutine(0xc0001d7040)
/go/pkg/mod/github.com/tendermint/tendermint@v0.33.5/blockchain/v0/reactor.go:349 +0x13cd
created by github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).OnStart
/go/pkg/mod/github.com/tendermint/tendermint@v0.33.5/blockchain/v0/reactor.go:118 +0x87
It also happens with stage chain, at a later block:
2020-10-08T15:25:20+02:00 INFO service/census.go:33 [census info] local:0 imported:0 loaded:0 queue:0/10 toRetry:0
2020-10-08T15:25:22+02:00 INFO service/vochain.go:133 [vochain info] fastsync running at block 32919 (31 blocks/s), peers 7
2020-10-08T15:25:22+02:00 INFO service/storage.go:34 [ipfs info] peers:80 addresses:2221 pins:0
2020-10-08T15:25:38+02:00 INFO scrutinizer/process.go:163 add new process a0a73b58d16f35147c4082c9b66b43a08635cf5f9ac3291bc0e424192b494d72 to live results
panic: Failed to process committed block (33467:705BA1D778A9913628B574427D7B24F85422EB9F6980BE3470834A87A43FC5C1): wrong Block.Header.AppHash. Expected C9C25014395E745405394B7A1D3BAC0B8B022047DD49BDC94D6AF52261BDCF5E, got 3BD3F5EC694D5A9DC8094F7EE1CBFDD486E3E760C373A22258F3AB8B6ACF73A6
goroutine 2591 [running]:
github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).poolRoutine(0xc0005b84e0)
/home/vdo/go/pkg/mod/github.com/tendermint/tendermint@v0.33.5/blockchain/v0/reactor.go:349 +0x13cd
created by github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).OnStart
/home/vdo/go/pkg/mod/github.com/tendermint/tendermint@v0.33.5/blockchain/v0/reactor.go:118 +0x87