refactor: remove Events generic from RPC types (#14033)

This commit is contained in:
Arsenii Kulikov
2025-01-28 17:29:27 +04:00
committed by GitHub
parent 42dc1ed04b
commit 0f2e2faeda
9 changed files with 146 additions and 306 deletions

View File

@ -20,7 +20,6 @@ pub type EthApiBuilderCtx<N> = reth_rpc_eth_types::EthApiBuilderCtx<
<N as RpcNodeCore>::Evm,
<N as RpcNodeCore>::Network,
TaskExecutor,
<N as RpcNodeCore>::Provider,
>;
/// A general purpose trait that launches a new node of any kind.

View File

@ -197,7 +197,6 @@ pub struct RpcRegistry<Node: FullNodeComponents, EthApi: EthApiTypes> {
Node::Pool,
Node::Network,
TaskExecutor,
Node::Provider,
EthApi,
Node::Executor,
Node::Consensus,
@ -214,7 +213,6 @@ where
Node::Pool,
Node::Network,
TaskExecutor,
Node::Provider,
EthApi,
Node::Executor,
Node::Consensus,
@ -453,7 +451,6 @@ where
.with_provider(node.provider().clone())
.with_pool(node.pool().clone())
.with_network(node.network().clone())
.with_events(node.provider().clone())
.with_executor(node.task_executor().clone())
.with_evm_config(node.evm_config().clone())
.with_block_executor(node.block_executor().clone())