diff --git a/Cargo.lock b/Cargo.lock index ab66b3b568c6..38ad2961bf54 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6762,6 +6762,7 @@ dependencies = [ "reth-network-peers", "reth-primitives", "reth-provider", + "reth-storage-api", "reth-tasks", "reth-testing-utils", "reth-tracing", diff --git a/crates/net/downloaders/Cargo.toml b/crates/net/downloaders/Cargo.toml index 15ede0335d3a..4f009b44527a 100644 --- a/crates/net/downloaders/Cargo.toml +++ b/crates/net/downloaders/Cargo.toml @@ -13,13 +13,13 @@ workspace = true [dependencies] # reth -reth-primitives.workspace = true -reth-network-p2p.workspace = true -reth-tasks.workspace = true -reth-provider.workspace = true reth-config.workspace = true reth-consensus.workspace = true +reth-network-p2p.workspace = true reth-network-peers.workspace = true +reth-primitives.workspace = true +reth-storage-api.workspace = true +reth-tasks.workspace = true # optional deps for the test-utils feature reth-db = { workspace = true, optional = true } diff --git a/crates/net/downloaders/src/bodies/bodies.rs b/crates/net/downloaders/src/bodies/bodies.rs index 27a576e2f702..9d651eee13a2 100644 --- a/crates/net/downloaders/src/bodies/bodies.rs +++ b/crates/net/downloaders/src/bodies/bodies.rs @@ -13,7 +13,7 @@ use reth_network_p2p::{ error::{DownloadError, DownloadResult}, }; use reth_primitives::{BlockNumber, SealedHeader}; -use reth_provider::HeaderProvider; +use reth_storage_api::HeaderProvider; use reth_tasks::{TaskSpawner, TokioTaskExecutor}; use std::{ cmp::Ordering, diff --git a/crates/net/downloaders/src/bodies/task.rs b/crates/net/downloaders/src/bodies/task.rs index 42b21d5f1699..aa5bc27527e2 100644 --- a/crates/net/downloaders/src/bodies/task.rs +++ b/crates/net/downloaders/src/bodies/task.rs @@ -45,7 +45,7 @@ impl TaskDownloader { /// use reth_consensus::Consensus; /// use reth_downloaders::bodies::{bodies::BodiesDownloaderBuilder, task::TaskDownloader}; /// use reth_network_p2p::bodies::client::BodiesClient; - /// use reth_provider::HeaderProvider; + /// use reth_storage_api::HeaderProvider; /// use std::sync::Arc; /// /// fn t(