From b68288c27738fc70c9c0b1345380fbf2ff44863a Mon Sep 17 00:00:00 2001 From: Alexey Shekhirin Date: Wed, 7 Feb 2024 18:13:27 +0000 Subject: [PATCH] remove unused imports --- crates/node-core/src/node_config.rs | 9 ++------- testing/ef-tests/src/cases/blockchain_test.rs | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/crates/node-core/src/node_config.rs b/crates/node-core/src/node_config.rs index 38442f1eecf3..f0266adc4dc7 100644 --- a/crates/node-core/src/node_config.rs +++ b/crates/node-core/src/node_config.rs @@ -12,12 +12,8 @@ use crate::{ }; use metrics_exporter_prometheus::PrometheusHandle; use once_cell::sync::Lazy; -use reth_auto_seal_consensus::{AutoSealBuilder, AutoSealConsensus, MiningMode}; -use reth_beacon_consensus::{ - hooks::{EngineHooks, PruneHook, SnapshotHook}, - BeaconConsensus, BeaconConsensusEngine, BeaconConsensusEngineError, - MIN_BLOCKS_FOR_PIPELINE_RUN, -}; +use reth_auto_seal_consensus::{AutoSealConsensus, MiningMode}; +use reth_beacon_consensus::BeaconConsensus; use reth_blockchain_tree::{ config::BlockchainTreeConfig, externals::TreeExternals, BlockchainTree, }; @@ -53,7 +49,6 @@ use reth_provider::{ ProviderFactory, StageCheckpointReader, }; use reth_revm::EvmProcessorFactory; -use reth_rpc_engine_api::EngineApi; use reth_snapshot::Snapshotter; use reth_stages::{ prelude::*, diff --git a/testing/ef-tests/src/cases/blockchain_test.rs b/testing/ef-tests/src/cases/blockchain_test.rs index 29a02015cf50..0cb65824847e 100644 --- a/testing/ef-tests/src/cases/blockchain_test.rs +++ b/testing/ef-tests/src/cases/blockchain_test.rs @@ -8,7 +8,7 @@ use alloy_rlp::Decodable; use reth_db::test_utils::{create_test_rw_db, create_test_snapshots_dir}; use reth_node_ethereum::EthEvmConfig; use reth_primitives::{BlockBody, SealedBlock, SnapshotSegment}; -use reth_provider::{providers::SnapshotWriter, BlockWriter, HashingWriter, ProviderFactory}; +use reth_provider::{providers::SnapshotWriter, HashingWriter, ProviderFactory}; use reth_stages::{stages::ExecutionStage, ExecInput, Stage}; use std::{collections::BTreeMap, fs, path::Path, sync::Arc};