From 68f852ba5486e50dc28da1d9bbb555838ffb655a Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Mon, 2 Sep 2024 11:59:44 +0200 Subject: [PATCH] fix: dont use prune mode full (#10652) --- crates/node/core/src/args/pruning.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/node/core/src/args/pruning.rs b/crates/node/core/src/args/pruning.rs index 620ae3e805..e4d4808f6a 100644 --- a/crates/node/core/src/args/pruning.rs +++ b/crates/node/core/src/args/pruning.rs @@ -32,7 +32,7 @@ impl PruningArgs { .deposit_contract .as_ref() .map(|contract| PruneMode::Before(contract.block)) - .or(Some(PruneMode::Full)), + .or(Some(PruneMode::Distance(MINIMUM_PRUNING_DISTANCE))), account_history: Some(PruneMode::Distance(MINIMUM_PRUNING_DISTANCE)), storage_history: Some(PruneMode::Distance(MINIMUM_PRUNING_DISTANCE)), receipts_log_filter: ReceiptsLogPruneConfig(