mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
chore: remove network-api test-utils feature (#3622)
This commit is contained in:
@ -39,7 +39,7 @@ reth-tracing = { path = "../../tracing" }
|
||||
reth-rpc-api = { path = "../rpc-api", features = ["client"] }
|
||||
reth-transaction-pool = { workspace = true, features = ["test-utils"] }
|
||||
reth-provider = { workspace = true, features = ["test-utils"] }
|
||||
reth-network-api = { workspace = true, features = ["test-utils"] }
|
||||
reth-network-api = { workspace = true }
|
||||
reth-interfaces = { workspace = true, features = ["test-utils"] }
|
||||
reth-beacon-consensus = { path = "../../consensus/beacon" }
|
||||
reth-payload-builder = { workspace = true, features = ["test-utils"] }
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
use reth_beacon_consensus::BeaconConsensusEngineHandle;
|
||||
use reth_network_api::test_utils::NoopNetwork;
|
||||
use reth_network_api::noop::NoopNetwork;
|
||||
use reth_payload_builder::test_utils::spawn_test_payload_service;
|
||||
use reth_primitives::MAINNET;
|
||||
use reth_provider::test_utils::{NoopProvider, TestCanonStateSubscriptions};
|
||||
@ -101,7 +101,7 @@ pub fn test_rpc_builder() -> RpcModuleBuilder<
|
||||
RpcModuleBuilder::default()
|
||||
.with_provider(NoopProvider::default())
|
||||
.with_pool(testing_pool())
|
||||
.with_network(NoopNetwork)
|
||||
.with_network(NoopNetwork::default())
|
||||
.with_executor(TokioTaskExecutor::default())
|
||||
.with_events(TestCanonStateSubscriptions::default())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user