Skip to content
Cosmopediaby Unity Nodes
DiscussionsCosmos-SDKPanic: Failed to process committed blockForum ↗

Panic: Failed to process committed block

Cosmos-SDK12 posts2,899 viewsLast activity Dec 2019
SY
sying2025OP
Jul 2019

I[2019-07-31|16:17:00.127] Executed block module=state height=10445 validTxs=0 invalidTxs=1
I[2019-07-31|16:17:00.131] Committed state module=state height=10445 txs=1 appHash=23D827043ED8336D9F0155BE667E004E64225F5C324483F270D117AD52B5CD77
panic: Failed to process committed block (10446:ABCD50764CA3D66481B8510A0FEC36EF8BAFC982257F704A26D89A0E5D6EE5F0): Wrong Block.Header.AppHash. Expected 23D827043ED8336D9F0155BE667E004E64225F5C324483F270D117AD52B5CD77, got 474CCA25B2522377DC8483BE35A6581B36137877789E5D831C4DA0F1BCDB2B8D

goroutine 96 [running]:
github.com/tendermint/tendermint/blockchain.(*BlockchainReactor).poolRoutine(0xc0009b01a0)
/home/ubuntu/goWorkPlace/src/github.com/bitcv-chain/tendermint/blockchain/reactor.go:347 +0x1542
created by github.com/tendermint/tendermint/blockchain.(*BlockchainReactor).OnStart
/home/ubuntu/goWorkPlace/src/github.com/bitcv-chain/tendermint/blockchain/reactor.go:117 +0x84

09
09qw123
Aug 2019

You might be using an outdated version of the software

ZA
zaki
Aug 2019

You need use v0.34.7 to synch cosmoshub-2

SY
sying2025
Aug 2019

cosmos-sdk version is 0.35.0, in my own testnet

ZA
zaki
Aug 2019

Possibly a bug in your testnet code? Are you running stock software or your own code?

SY
sying2025
Aug 2019
zaki:

Are you running stock software or your own cod

I run on my own testnet, I change the cosmos-sdk code, so the data hava some problems. Now I already deploy again, it’s noramal.

SC
Scott
Dec 2019

Dear cosmos forum: got the attached error similar to the one in this thread. Running gaiad v0.34.10. Any suggestions to fix? Thanks!

SY
sying2025
Dec 2019

Can you give more detail about it? What did you do?

SC
Scott
Dec 2019

Node was synced until block height 2,808,192. It regularly showed errors from the peers (e.g., too many open files, dial tcp timeout, connection failed at recvRoutine) but most of the console output was executed block/committed state.

Edit: updated with error when I try to restart the node

SY
sying2025
Dec 2019

Did you change the initial height?@Scott

SC
Scott
Dec 2019

No, synced from block 0.

SY
sying2025
Dec 2019

Maybe it is the data error. You can try following command. @Scott
cd ~/.gaiad/data
rm -rf !(priv_validator_state.json)
vim priv_validator_state.json
1、Remaing these fileds, and delete others
“height”: “0”,
“round”: “0”,
“step”: 0
2、Start the gaia

← Back to Discussions