Replace DynEthApiBuilder with a trait #12509
Labels
C-enhancement
New feature or request
D-complex
Quite challenging from either a design or technical perspective Ask for help!
Describe the feature
we currently use
reth/crates/rpc/rpc-builder/src/eth.rs
Lines 11 to 13 in bf44c97
and
reth/crates/node/builder/src/rpc.rs
Line 359 in bf44c97
as the constructor for the
EthApi
, like:reth/crates/rpc/rpc/src/eth/core.rs
Lines 99 to 106 in bf44c97
and
reth/crates/optimism/node/src/node.rs
Line 147 in bf44c97
this makes it very difficult to navigate and is a bit confusing. With a trait it would be easier to find all places where this is used.
TODO
reth/crates/node/builder/src/rpc.rs
Line 338 in bf44c97
Additional context
No response
The text was updated successfully, but these errors were encountered: