chore(rpc): Remove provider and network trait methods from EthApiSpec (#12050)

This commit is contained in:
Emilia Hane
2024-10-26 21:03:22 +08:00
committed by GitHub
parent 44e4c47803
commit a06c3af832
5 changed files with 75 additions and 36 deletions

View File

@@ -36,7 +36,7 @@
//! block_executor: BlockExecutor,
//! ) where
//! Provider: FullRpcProvider + AccountReader + ChangeSetReader,
//! Pool: TransactionPool + 'static,
//! Pool: TransactionPool + Unpin + 'static,
//! Network: NetworkInfo + Peers + Clone + 'static,
//! Events: CanonStateSubscriptions + Clone + 'static,
//! EvmConfig: ConfigureEvm<Header = Header>,
@@ -85,6 +85,7 @@
//! use reth_tasks::TokioTaskExecutor;
//! use reth_transaction_pool::TransactionPool;
//! use tokio::try_join;
//!
//! pub async fn launch<
//! Provider,
//! Pool,
@@ -104,7 +105,7 @@
//! block_executor: BlockExecutor,
//! ) where
//! Provider: FullRpcProvider + AccountReader + ChangeSetReader,
//! Pool: TransactionPool + 'static,
//! Pool: TransactionPool + Unpin + 'static,
//! Network: NetworkInfo + Peers + Clone + 'static,
//! Events: CanonStateSubscriptions + Clone + 'static,
//! EngineApi: EngineApiServer<EngineT>,