Access RPC types via alloy Network
trait in EthApi
#8780
Labels
A-op-reth
Related to Optimism and op-reth
A-rpc
Related to the RPC implementation
C-debt
Refactor of code section that is hard to understand or maintain
M-prevent-stale
Prevents old inactive issues/PRs from being closed due to inactivity
Describe the feature
Replace alloy rpc types
AnyTransactionReceipt
,RichBlock
andTransaction
inEthApi
trait, withNetwork
trait.https://github.com/alloy-rs/alloy/blob/251e11ebde5fae1b94652c5b0109d5d966726f55/crates/network/src/lib.rs#L48-L101
This will also have to happen for
EngineEthApi
, due to trait boundreth/crates/rpc/rpc/src/engine.rs
Line 35 in b8cd7be
Additional context
No response
Tasks
EthApiTypes
trait for network specific error AT #9523alloy_network::Network::BlockResponse
instead ofreth_rpc_types::Block
in RPC #10451alloy_network::Network::ReceiptResponse
instead ofAnyTransactionReceipt
in RPC #10452The text was updated successfully, but these errors were encountered: