I have clique private proof-of-authority chain.
I have updated all signer nodes' (currently I have 3 signer nodes) geth version to minimum Version: 1.8.16-stable
. Also I have updated the other node that gives the error to v1.8.16
.
The way I run my geth
also tried without --syncmode fast
flag.
geth --syncmode fast --cache=1024 --shh --datadir $DATADIR/private --rpcaddr 127.0.0.1 --rpc --rpcport 8545 --rpccorsdomain="*" --networkid 12345 --rpcapi admin,eth,net,web3,debug,personal,shh
Error I am having on multiple nodes that are connected into the network.
########## BAD BLOCK #########
Chain config: {ChainID: 23422 Homestead: 1 DAO: <nil> DAOSupport: false EIP150: 2 EIP155: 3 EIP158: 3 Byzantium: 4 Constantinople: <nil> Engine: clique}
Number: 1260001
Hash: 0x659e96f35e1fa1c39fc3b8370a336f78787e482aef44e56bbe6dd9e10bb06bdc
Error: recently signed
##############################
WARN [10-05|15:49:57.694] Synchronisation failed, dropping peer peer=ae57fcb24c19102e err="retrieved hash chain is invalid"
INFO [10-05|15:49:57.694] message loop peer=ae57fcb24c19102e err=EOF
ERROR[10-05|15:50:07.707]
########## BAD BLOCK #########
Chain config: {ChainID: 23422 Homestead: 1 DAO: <nil> DAOSupport: false EIP150: 2 EIP155: 3 EIP158: 3 Byzantium: 4 Constantinople: <nil> Engine: clique}
Number: 1260001
Hash: 0x659e96f35e1fa1c39fc3b8370a336f78787e482aef44e56bbe6dd9e10bb06bdc
I have reverted back the blockchain into some previous block number,
debug.setHead("0x124F80")
(1200000 th block) but it did not help.Please note that I have to remove my chaindata
geth removedb
and sync from the start, which also didn't help.
Possible Solution:
- Should I take back the signer nodes' blockchain data to point where error does not occurred using
debug.setHead()
? This could be a short-term solution where the same error could be occurred again.
=> Opened issue.
geth init
), then resync without--syncmode fast
?--syncmode fast
and let you know.--syncmode fast
flag and face with the same error. Here is the network status of my private network: gist.github.com/avatar-lavventura/…, you can see more than one node stuck at blockNumber=1,260,000.