mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
refactor: remove PruneModes from batch executor (#14025)
This commit is contained in:
@ -14,7 +14,6 @@ use reth_provider::{
|
||||
providers::{ProviderNodeTypes, StaticFileProvider},
|
||||
DatabaseProviderFactory, ProviderFactory,
|
||||
};
|
||||
use reth_prune::PruneModes;
|
||||
use reth_stages::{
|
||||
stages::{
|
||||
AccountHashingStage, ExecutionStage, MerkleStage, StorageHashingStage,
|
||||
@ -104,7 +103,6 @@ fn unwind_and_copy<N: ProviderNodeTypes>(
|
||||
max_duration: None,
|
||||
},
|
||||
MERKLE_STAGE_DEFAULT_CLEAN_THRESHOLD,
|
||||
PruneModes::all(),
|
||||
ExExManagerHandle::empty(),
|
||||
);
|
||||
|
||||
|
||||
@ -275,7 +275,6 @@ impl<C: ChainSpecParser<ChainSpec: EthChainSpec + Hardforks + EthereumHardforks>
|
||||
max_duration: None,
|
||||
},
|
||||
config.stages.merkle.clean_threshold,
|
||||
prune_modes,
|
||||
ExExManagerHandle::empty(),
|
||||
)),
|
||||
None,
|
||||
|
||||
@ -144,7 +144,6 @@ impl<C: ChainSpecParser<ChainSpec: EthChainSpec + EthereumHardforks>> Command<C>
|
||||
max_duration: None,
|
||||
},
|
||||
stage_conf.execution_external_clean_threshold(),
|
||||
prune_modes.clone(),
|
||||
ExExManagerHandle::empty(),
|
||||
)),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user