Go-ethereum: BAD BLOCK error when syncing rinkeby

Created on 9 Jan 2020  Â·  3Comments  Â·  Source: ethereum/go-ethereum

Hi there,

i'm trying to sync a rinkeby node using the instructions provided on rinkeby.io.

geth --datadir=$HOME/.rinkeby init rinkeby.json
geth --networkid=4 --datadir=$HOME/.rinkeby --cache=512 --ethstats='yournode:Respect my [email protected]' --bootnodes=enode://a24ac7c5484ef4ed0c5eb2d36620ba4e4aa13b8c84684e1b4aab0cebea2ae45cb4d375b77eab56516d34bfbd3c1a833fc51296ff084b770b94fb9028c4d25ccf@52.169.42.101:30303

System information

Geth version: 1.9.9-stable
Protocol Versions: [64 63]
Go Version: go1.13.4
GOROOT=/usr/local/Cellar/go/1.13.4/libexec
System Version: macOS 10.15.2 (19C57)
Kernel Version: Darwin 19.2.0

Expected behaviour

sync to the tip of the chain.

Actual behaviour

sync never finishes. i see:

> eth.syncing
{
  currentBlock: 5760919,
  highestBlock: 5760983,
  knownStates: 119985953,
  pulledStates: 119985953,
  startingBlock: 0
}

and

INFO [01-09|08:20:50.149] Imported new block receipts              count=1    elapsed=477.733µs number=5760919 hash=e5b539…1073ec age=16m45s     size=17.25KiB
INFO [01-09|08:20:50.149] Committed new head block                 number=5760919 hash=e5b539…1073ec
ERROR[01-09|08:20:50.156]
########## BAD BLOCK #########
Chain config: {ChainID: 4 Homestead: 1 DAO: <nil> DAOSupport: false EIP150: 2 EIP155: 3 EIP158: 3 Byzantium: 1035301 Constantinople: <nil> Petersburg: <nil> Istanbul: <nil>, Muir Glacier: <nil>, Engine: clique}

Number: 5760920
Hash: 0xb064e94b0051524d0754ca97418efd5abfb8ee87eaf55f3a9124be99e310cd77
         0: cumulative: 31112 gas: 31112 contract: 0x0000000000000000000000000000000000000000 status: 0 tx: 0x248585c3aac9bc4e2cd6636644b23230a2be51cafdbdc34f6e3d9200974aa49f logs: [] bloom: 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 state:
         1: cumulative: 73806 gas: 42694 contract: 0x0000000000000000000000000000000000000000 status: 0 tx: 0x60e5c2c25e772abd7696893f0e34d2ec69291b0d0735b50fda54bd78a0287630 logs: [] bloom: 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 state:
         2: cumulative: 3642005 gas: 3568199 contract: 0x217fF8aA3fAdB18811F4C38Be3a2a41E2768CA0F status: 0 tx: 0xfb2323ed38ce70bb7e2fbe8f04ef6e01d3d2948874e73b87a15287ebe9aadde2 logs: [] bloom: 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 state:


Error: invalid receipt root hash (remote: a3c0e5b5b0ee475cc4375eeee7c8d26d7a06cad6fd12df5a7fddf7afca93e380 local: 3500521edede3bdaf95964d4883c6fbccf033d171ca8e13e7b00cb667a6aac35)
##############################

current tip according to etherscan while writing: 5760977

Most helpful comment

Either run with --rinkeby to auto configure all the forks, or download a fresh genesis json that has them included. Your node seems to be missing the last 3 forks: Constantinople: <nil> Petersburg: <nil> Istanbul: <nil>

All 3 comments

Either run with --rinkeby to auto configure all the forks, or download a fresh genesis json that has them included. Your node seems to be missing the last 3 forks: Constantinople: <nil> Petersburg: <nil> Istanbul: <nil>

download a fresh genesis json

i downloaded the one from rinkeby.io. will it be updated, or should i go to a different source?

The one on that page is up to date "constantinopleBlock":3660663,"petersburgBlock":4321234,"istanbulBlock":5435345

https://www.rinkeby.io/rinkeby.json

Was this page helpful?
0 / 5 - 0 ratings