Single block iterator for ExEx backfill #9172
Labels
A-exex
Execution Extensions
C-enhancement
New feature or request
D-good-first-issue
Nice and easy! A great choice to get started
Describe the feature
Currently, we only have an iterator that iterates in batches and yields the next iterator value when the batch has finished executing:
reth/crates/exex/exex/src/backfill.rs
Lines 68 to 69 in a3ab3d0
We need to add another iterator that yields just the
(Block, ExecutionOutcome)
. I propose the following API:into_single_blocks
will return another type of iterator that executes blocks one by one, and returns(Block, ExecutionOutcome)
instead of the wholeChain
.Additional context
No response
The text was updated successfully, but these errors were encountered: