Implement build_block for EthApi using the PayloadBuilder #12535
Labels
C-enhancement
New feature or request
D-complex
Quite challenging from either a design or technical perspective Ask for help!
D-good-first-issue
Nice and easy! A great choice to get started
Describe the feature
we currently have a default impl for
reth/crates/rpc/rpc-eth-api/src/helpers/pending_block.rs
Line 216 in 5c655e4
this uses redundant block building code, we can instead leverage the PayloadBuilder for this by
reth/crates/rpc/rpc/src/eth/helpers/pending_block.rs
Lines 17 to 20 in 5c655e4
RpcNodeCore::PayloadBuilder
typethis is similar to
reth/crates/engine/local/src/payload.rs
Lines 30 to 42 in 5c655e4
where we create attributes and leverage the payload builder API to resolve the payload
reth/crates/payload/primitives/src/traits.rs
Line 24 in 5c655e4
reth/crates/payload/primitives/src/traits.rs
Lines 35 to 39 in 5c655e4
Additional context
No response
The text was updated successfully, but these errors were encountered: