Introduce executed_block_by_hash
#10552
Labels
A-blockchain-tree
Related to sidechains, reorgs and pending blocks
C-enhancement
New feature or request
If we want to be able to send these notifications for reorgs that extend to data on disk:
reth/crates/chain-state/src/in_memory.rs
Lines 726 to 742 in a7a9f9f
For example in #10551 we need to be able to walk back the canonical chain, even on disk, and populate this data. So we need to be able to fetch
ExecutedBlock
by hash in theEngineApiTreeHandler
.We basically want to be able to produce executed blocks in the following reorg case:
The text was updated successfully, but these errors were encountered: