Skip to content

fix eth_getProof: corner case when account have a singletone storage slot#16011

Closed
awskii wants to merge 18 commits into
mainfrom
fix/proof-singleton
Closed

fix eth_getProof: corner case when account have a singletone storage slot#16011
awskii wants to merge 18 commits into
mainfrom
fix/proof-singleton

Conversation

@awskii

@awskii awskii commented Jul 9, 2025

Copy link
Copy Markdown
Member

when going deeper by path in tree, depth was not adjusted to step into account address first, breaking path traversal order skipping underneath branch node first
Account and Storage trie divided by depth of 64 (address hashed and nibblized length)

Addded fix for non-dereferenced keys during hsitorical prooving: once entry not found in history it should be fetched from domain latest values, but using GetAsOf i missing information to dereference keys kept in files, so i have to do GetLatest via SharedDomain implementation which automatically dereference keys making them plain and able trie to operate over them.

Closing #15924

@awskii awskii closed this Jul 23, 2025
AskAlexSharov pushed a commit that referenced this pull request Jul 25, 2025
Successor of #16011
+ storage singleton
+ bunch of accounts with common prefix
+ storages with common prefix before first branch
+ witness tracing
+ optional memoisation in commitment , disabled memoisation for proofs
@awskii awskii deleted the fix/proof-singleton branch February 9, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants