chore(deps): rm provider dep (#9006)

This commit is contained in:
Matthias Seitz
2024-06-21 01:29:10 +02:00
committed by GitHub
parent a03306eb94
commit d6072e79f3
4 changed files with 7 additions and 6 deletions

View File

@ -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 }

View File

@ -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,

View File

@ -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<B: BodiesClient + 'static, Provider: HeaderProvider + Unpin + 'static>(