-
Notifications
You must be signed in to change notification settings - Fork 21.3k
Open
Labels
Description
The original report is from #29417
Geth:
- scheme:
hash
- version:
1.13.14-stable
reports error like this:
Apr 01 18:04:59 aviad-SEi geth[69608]: ERROR[04-01|18:04:59.141] Unhandled trie error in Trie.Prove err="missing trie node 67120b27ad8a3045df012b9e4e2daae8ed047f5e52bc7800356b6b9cd633709c (path 0000010a060a0b) <nil>"
The error means an account trie node at position []byte{0x0, 0x0, 0x1, 0xa, 0x6, 0xa, 0xb}
is missing.
The correct node blob should be 0xf8669d35fce6efd2272cdb9ea2eacce639fab06c112ac8be435a182bae332defb846f8440180a0bbd13d463ce2111713bb0d6ad117b0ba991bc32336d501e872703c4ad6bc3c90a0905982d3bc98b3ad75d5ca7a92446cc8923fae39a2352245000f9d3e9dc0f3ee
, can be decoded as a shortNode:
[
35fce6efd2272cdb9ea2eacce639fab06c112ac8be435a182bae332def,
f8440180a0bbd13d463ce2111713bb0d6ad117b0ba991bc32336d501e872703c4ad6bc3c90a0905982d3bc98b3ad75d5ca7a92446cc8923fae39a2352245000f9d3e9dc0f3ee,
]
After inspecting the history (from block 19400000, roughly Mar-10-2024), the account mutation with address-hash prefix 001a6a
is found as below:
./geth db inspect-history --datadir . --start 19400000 --prefix 001a6a --datadir ./geth_data
Account history:
blockrange: [#19400000-#19600717]
#19541282
001a6aefc178724fdc1d7f0f7b655fca3dfb9d5ae36b2425d9efe98c1d0e7126 - (address: 3b675ffd72a3be289d1cb3e8cceb0417505d5fcd): 0xcd820121871ad7eef6b7da568080
It's a sibling of missing node mutated on Mar-29-2024