replace block fields with BlockBody #10907
Labels
A-sdk
Related to reth's use as a library
C-debt
Refactor of code section that is hard to understand or maintain
C-enhancement
New feature or request
D-good-first-issue
Nice and easy! A great choice to get started
Describe the feature
currently Block has a flattened blockbody as its fields:
reth/crates/primitives/src/block.rs
Lines 40 to 47 in 97cc9dd
reth/crates/primitives/src/block.rs
Lines 557 to 566 in 97cc9dd
if we want to abstract a block as
then we need to use the container type
see also:
reth/crates/primitives/src/block.rs
Lines 301 to 306 in 97cc9dd
TODO
BlockBody
Additional context
fyi @refcell
alloy-rs/alloy#1290
The text was updated successfully, but these errors were encountered: