Promote create_reorg
to component trait method
#12750
Labels
A-sdk
Related to reth's use as a library
C-debt
Refactor of code section that is hard to understand or maintain
D-complex
Quite challenging from either a design or technical perspective Ask for help!
S-needs-design
This issue requires design work to think about how it would best be accomplished
Describe the feature
In order to make it possible to have use generic data primitives in consensus, the function
create_reorg_head
must be moved to a trait method of consensus engine component, so it can be implemented separately for op and l1, since the function constructs a block type and receipt type.reth/crates/engine/util/src/reorg.rs
Lines 250 to 450 in ad7885b
Additional context
No response
The text was updated successfully, but these errors were encountered: