-
Notifications
You must be signed in to change notification settings - Fork 20.2k
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
Unexpected trie missing in prefetcher #29880
Comments
This tuned out to be post-merge but pre-withdrawals when there's an empty block with no txs, so the account trie never gets prefetched. So no issue, but scary warning. |
I guess the fix would be to always inject a prefetch() call for the account trie whenever we create a statedb / start a prefetcher. It's a bit overkill, but it's cleaner than trying to be smart about avoiding accessing the account trie in statedb.Commit. |
I can consistently repeat the issue using the latest docker image in the https://github.com/ivy-net/iv1 (or any other derivative of https://github.com/OffchainLabs/eth-pos-devnet). |
Geth will occasionally report this kind of log during the full sync.
It denotes the specific account trie is not scheduled for prefetching, but it's required for state rehashing.
The text was updated successfully, but these errors were encountered: