mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-26 23:58:46 -05:00
fix(engine): state retrieval for parallel root with persisted parent (#10966)
This commit is contained in:
@@ -2278,6 +2278,10 @@ where
|
||||
for block in blocks.iter().rev() {
|
||||
input.append_cached_ref(block.trie_updates(), block.hashed_state())
|
||||
}
|
||||
} else {
|
||||
// The block attaches to canonical persisted parent.
|
||||
let revert_state = consistent_view.revert_state(parent_hash)?;
|
||||
input.append(revert_state);
|
||||
}
|
||||
|
||||
// Extend with block we are validating root for.
|
||||
|
||||
Reference in New Issue
Block a user