chore: changed import for network(examples) (#15642)

This commit is contained in:
Ishika Choudhury
2025-04-10 11:03:34 +05:30
committed by GitHub
parent f16354be88
commit 5182fe59c1
3 changed files with 7 additions and 7 deletions

3
Cargo.lock generated
View File

@@ -3522,8 +3522,7 @@ version = "0.0.0"
dependencies = [
"eyre",
"futures",
"reth-network",
"reth-provider",
"reth-ethereum",
"tokio",
]

View File

@@ -6,8 +6,7 @@ edition.workspace = true
license.workspace = true
[dependencies]
reth-network.workspace = true
reth-provider = { workspace = true, features = ["test-utils"] }
reth-ethereum = { workspace = true, features = ["test-utils", "network", "provider"] }
futures.workspace = true
tokio.workspace = true
eyre.workspace = true

View File

@@ -9,10 +9,12 @@
#![warn(unused_crate_dependencies)]
use futures::StreamExt;
use reth_network::{
config::rng_secret_key, NetworkConfig, NetworkEventListenerProvider, NetworkManager,
use reth_ethereum::{
network::{
config::rng_secret_key, NetworkConfig, NetworkEventListenerProvider, NetworkManager,
},
provider::test_utils::NoopProvider,
};
use reth_provider::test_utils::NoopProvider;
#[tokio::main]
async fn main() -> eyre::Result<()> {