From 0387e01cd59f205a963d12c7a08ed26ffea79f61 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Mon, 20 Oct 2025 14:28:45 +0200 Subject: [PATCH 1/4] fix(prune): Disable pruning limits --- crates/node/builder/src/launch/common.rs | 2 -- crates/prune/prune/src/builder.rs | 3 --- 2 files changed, 5 deletions(-) diff --git a/crates/node/builder/src/launch/common.rs b/crates/node/builder/src/launch/common.rs index 2d1fb6924d8..b0be2442bac 100644 --- a/crates/node/builder/src/launch/common.rs +++ b/crates/node/builder/src/launch/common.rs @@ -421,8 +421,6 @@ impl LaunchContextWith Self { Self::default() From 41e6fcf55b0a9ceacea0e0e684d54f2f2cfa2770 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Mon, 20 Oct 2025 15:00:01 +0200 Subject: [PATCH 2/4] Fix default PrunerBuilder --- crates/prune/prune/src/builder.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/prune/prune/src/builder.rs b/crates/prune/prune/src/builder.rs index 5471b06f506..78283710e15 100644 --- a/crates/prune/prune/src/builder.rs +++ b/crates/prune/prune/src/builder.rs @@ -1,6 +1,5 @@ use crate::{segments::SegmentSet, Pruner}; use alloy_eips::eip2718::Encodable2718; -use reth_chainspec::MAINNET_PRUNE_DELETE_LIMIT; use reth_config::PruneConfig; use reth_db_api::{table::Value, transaction::DbTxMut}; use reth_exex_types::FinishedExExHeight; @@ -132,7 +131,7 @@ impl Default for PrunerBuilder { Self { block_interval: 5, segments: PruneModes::default(), - delete_limit: MAINNET_PRUNE_DELETE_LIMIT, + delete_limit: usize::MAX, timeout: None, finished_exex_height: watch::channel(FinishedExExHeight::NoExExs).1, } From 22020ea1406c62d6ce1ee91899d7f0e707b68e90 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Mon, 20 Oct 2025 15:03:29 +0200 Subject: [PATCH 3/4] chainspec --- crates/prune/prune/Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/prune/prune/Cargo.toml b/crates/prune/prune/Cargo.toml index 094570b873f..a2d82c26923 100644 --- a/crates/prune/prune/Cargo.toml +++ b/crates/prune/prune/Cargo.toml @@ -13,7 +13,6 @@ workspace = true [dependencies] # reth -reth-chainspec.workspace = true reth-exex-types.workspace = true reth-db-api.workspace = true reth-errors.workspace = true From d28c9cc8f50866918f19a013675b80e186af76fd Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Mon, 20 Oct 2025 15:12:55 +0200 Subject: [PATCH 4/4] lock --- Cargo.lock | 1 - 1 file changed, 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index b406ede9b87..73f63b42f11 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9795,7 +9795,6 @@ dependencies = [ "itertools 0.14.0", "metrics", "rayon", - "reth-chainspec", "reth-config", "reth-db", "reth-db-api",