metrics(download): move header stage metrics to downloader (#1014)

This commit is contained in:
Roman Krasiuk
2023-01-25 11:02:38 +02:00
committed by GitHub
parent d0f752fc5d
commit 93194e8a0c
10 changed files with 57 additions and 45 deletions

View File

@ -20,7 +20,6 @@ use reth_network_api::NetworkInfo;
use reth_primitives::{BlockNumber, ChainSpec, H256};
use reth_staged_sync::{utils::init::init_genesis, Config};
use reth_stages::{
metrics::HeaderMetrics,
stages::{
bodies::BodyStage, execution::ExecutionStage, hashing_account::AccountHashingStage,
hashing_storage::StorageHashingStage, headers::HeaderStage, merkle::MerkleStage,
@ -173,7 +172,6 @@ impl Command {
),
consensus: consensus.clone(),
sync_status_updates: network.clone(),
metrics: HeaderMetrics::default(),
})
.push(TotalDifficultyStage {
commit_threshold: config.stages.total_difficulty.commit_threshold,