Extend EthApi with execution helpers #11122
Labels
C-enhancement
New feature or request
S-needs-design
This issue requires design work to think about how it would best be accomplished
Describe the feature
ref #10974
currently the ethApi impl only tracks the
EvmConfig
:reth/crates/rpc/rpc/src/eth/core.rs
Lines 216 to 217 in bb27f37
it would be beneficial to have additional execution related helpers,
this could serve as the entry point that abstracts away transaction/block execution for tracing, pending block building etc.
This would also decouple execution further from eth API impl, which I believe @tcoratger would also appreciate.
what we need first, is a solution to #10974, an instance that wraps
EvmConfig
and knows how to execute a block.Which can be something like: #11074
then we can also integrate the payload builder so we can easily build a pending block
The end goal would probably look like something that doesn't require EvmConfig at all.
Additional context
No response
The text was updated successfully, but these errors were encountered: