Skip to content

Commit

Permalink
chore(reth): Replace HeadersClient + BodiesClient with BlockClient (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
nkysg authored Aug 4, 2024
1 parent 88be767 commit 83ac7b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/reth/src/commands/debug_cmd/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use reth_downloaders::{
use reth_exex::ExExManagerHandle;
use reth_network::{BlockDownloaderProvider, NetworkEvents, NetworkHandle};
use reth_network_api::NetworkInfo;
use reth_network_p2p::{bodies::client::BodiesClient, headers::client::HeadersClient};
use reth_network_p2p::{headers::client::HeadersClient, BlockClient};
use reth_primitives::{BlockHashOrNumber, BlockNumber, B256};
use reth_provider::{
BlockExecutionWriter, ChainSpecProvider, ProviderFactory, StageCheckpointReader,
Expand Down Expand Up @@ -67,7 +67,7 @@ impl Command {
) -> eyre::Result<Pipeline<DB>>
where
DB: Database + Unpin + Clone + 'static,
Client: HeadersClient + BodiesClient + Clone + 'static,
Client: BlockClient + 'static,
{
// building network downloaders using the fetch client
let header_downloader = ReverseHeadersDownloaderBuilder::new(config.stages.headers)
Expand Down

0 comments on commit 83ac7b5

Please sign in to comment.