Skip to content

fix(engine): retain parent overlay for pruned sparse tries - #27228

Draft
decofe wants to merge 1 commit into
mainfrom
centaur/fix-pruned-sparse-trie-proof-state-1789403373
Draft

decofe wants to merge 1 commit into
mainfrom
centaur/fix-pruned-sparse-trie-proof-state-1789403373

Conversation

@decofe

@decofe decofe commented Sep 14, 2026

Copy link
Copy Markdown
Member

Do not skip parent-overlay construction when reusing a sparse trie if pruning is enabled. Pruned blind nodes can represent state newer than the durable anchor, so proof calculation must retain the complete parent overlay.

Tests:

  • cargo +nightly fmt --all --check
  • cargo check -p reth-engine-tree

Prompted by: @shekhirin

Co-authored-by: Derek Cofausper <256792747+decofe@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants