New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.10.23 dev chain: "missing trie node" on debug_getModifiedAccountsByNumber #25638
Comments
The Also, how many blocks have you imported? If you have imported . >128 blocks, then the in-memory pruning comes into play. We need more information about the state of the blockchain when you made the various calls, to know what is happening. |
Please provide logs. The context is important here, because geth is doing in-mempry garbage collection of old stateroots. So if you do getModifiedAccountsByNumber on a number which is in the range "eligible for garbage collection", then the error is expected and correct. The logs should show the latest imported block and the number that's being used in the call. As for |
@holiman My bad, Is |
I opened an issue to add more documentation, will close this for now |
System information
Geth version:
1.10.24-unstable
(but it's 1.10.23)OS & Version: Linux
Expected behaviour
Return
null
or list of addresses for any existing block range when callingdebug_getModifiedAccountsByNumber
Actual behaviour
In a local merge test setup, the call works for empty blocks in [0,12]. Then on block 13, two deposit stake tx get successfully mined (using https://github.com/protolambda/merge-genesis-tools as part of the genesis allocs), followed by more txs in blocks 14+. The deposit tx are confirmed working and valid, the merge kicks in with a beacon node and validator. Also txs in blocks 14+ get mined successfully. Only when
debug_getModifiedAccountsByNumber
runs on a block range including or after block 13, things break.Symptoms of
debug_getModifiedAccountsByNumber
:Geth logs around block 13:
Sounds similar to #25613
The text was updated successfully, but these errors were encountered: