Skip to content

Instantly share code, notes, and snippets.

@AskAlexSharov
Last active February 9, 2020 10:24
Show Gist options
  • Save AskAlexSharov/d724c92eb25b6e65f1eaf0ff074838bf to your computer and use it in GitHub Desktop.
Save AskAlexSharov/d724c92eb25b6e65f1eaf0ff074838bf to your computer and use it in GitHub Desktop.
// Happening when sync node from scratch (happening with different nodes and not reproducable yet)
// branch: trie_invalidate_self_destruct
// command: INTERMEDIATE_TRIE_CACHE=true go run ./cmd/geth --port 30307 --remote-db-listen-addr localhost:9997 --rpcport 8544 --rpc --rpcapi eth,debug --trie-cache-gens 64 --verbosity=2 --datadir /Users/alex.sharov/Library/Ethereum/geth-remove-me3
ERROR[02-09|17:19:11.250]
########## BAD BLOCK #########
Chain config: {ChainID: 1 Homestead: 1150000 DAO: 1920000 DAOSupport: true EIP150: 2463000 EIP155: 2675000 EIP158: 2675000 EIP2027: <nil> Byzantium: 4370000 Constantinople: 7280000 Petersburg: 7280000 Istanbul: 9069000, Muir Glacier: 9200000, Engine: ethash}
Number: 6639
Hash: 0x93cc6ca0ae529c0c62918a0879fa698cea219ade9cdf1e304cdbc0199f9fc279
Error: error in finaliseRoot, for block 6638: mismatching hash: <a35355fa0a9e984d388a17c89dbc4484923b709fa70bf349a39fb02b63e95bc5> fab82d3458e0fedded3162b364a88935abd00d171b1c626e55eaef1d5b9d2e5c for prefix , resolveHex 070f0f04010a0a0c0b0e0e0a010e0306020004090901000d03070d080704010b0f000809010204050d050d06050606050a0c0e090d05000a090b050a0d02070510, resolvePos 1
Callers: [github.com/ledgerwatch/turbo-geth/core.(*BlockChain).reportBlock github.com/ledgerwatch/turbo-geth/core.(*BlockChain).insertChain github.com/ledgerwatch/turbo-geth/core.(*BlockChain).InsertChain github.com/ledgerwatch/turbo-geth/eth/downloader.(*Downloader).importBlockResults github.com/ledgerwatch/turbo-geth/eth/downloader.(*Downloader).processFullSyncContent github.com/ledgerwatch/turbo-geth/eth/downloader.(*Downloader).spawnSync.func1 runtime.goexit]
##############################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment