chore: refactor DefaultStages to take StageConfig (#8173)

This commit is contained in:
joshieDo
2024-05-12 12:38:34 +01:00
committed by GitHub
parent 487f7e302b
commit d9f9504dbd
17 changed files with 245 additions and 223 deletions

View File

@ -6,7 +6,7 @@ use crate::{
use reth_blockchain_tree::{
config::BlockchainTreeConfig, externals::TreeExternals, BlockchainTree, ShareableBlockchainTree,
};
use reth_config::config::EtlConfig;
use reth_config::config::StageConfig;
use reth_consensus::{test_utils::TestConsensus, Consensus};
use reth_db::{test_utils::TempDatabase, DatabaseEnv as DE};
use reth_downloaders::{
@ -375,7 +375,8 @@ where
header_downloader,
body_downloader,
executor_factory.clone(),
EtlConfig::default(),
StageConfig::default(),
PruneModes::default(),
))
}
};