mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
refactor: remove Events generic from RPC types (#14033)
This commit is contained in:
@ -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.
|
||||
|
||||
@ -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())
|
||||
|
||||
Reference in New Issue
Block a user