refactor: remove PruneModes from batch executor (#14025)

This commit is contained in:
Arsenii Kulikov
2025-01-29 15:50:37 +04:00
committed by GitHub
parent 2652ec8af5
commit 5fcefcea8c
17 changed files with 61 additions and 180 deletions

View File

@ -99,7 +99,7 @@ impl<C: ChainSpecParser<ChainSpec = ChainSpec>> Command<C> {
body_downloader,
executor.clone(),
stage_conf.clone(),
prune_modes.clone(),
prune_modes,
)
.set(ExecutionStage::new(
executor,
@ -110,7 +110,6 @@ impl<C: ChainSpecParser<ChainSpec = ChainSpec>> Command<C> {
max_duration: None,
},
stage_conf.execution_external_clean_threshold(),
prune_modes,
ExExManagerHandle::empty(),
)),
)