Motivation
Node storage grows unbounded with uptime. We want nodes to run in pruning mode — retaining only a recent window of blocks (e.g. the last 10,000) — so operators can run on far smaller disks. This must be validated on testnet first, then promoted to mainnet.
Scope of this issue is execution-side (Reth) pruning only; the consensus layer is not pruned here (but see acceptance item A below for a related check).
Requirements
1. Reth pruning flag — availability & RPC correctness
Reth ships built-in pruning flags. Verify they actually work on our execution layer and that RPC semantics stay correct.
2. Custom-DB compatibility
If any component replaces Reth's StaticFiles or Reth's native DB with a custom store, confirm pruning still holds.
3. Storage footprint & semantic parity
Additional acceptance criteria
Done criteria
All three role types run in pruning mode on testnet, storage converges to the target window, latest/RPC semantics match upstream Reth, and the consensus DB shows no new accumulation risk — then promote to mainnet.
Each checkbox should land with reproducible evidence (commands / logs / a storage-over-time curve) and must not regress consensus participation, block production, or peer connectivity.
Suggested sequencing
- Requirements 1 + 2 (does the flag work; how do custom DBs prune) — these size the rest of the work.
- Requirements 3 and acceptance C (window/semantics across the three roles).
- Acceptance A alongside; B can follow later.
Motivation
Node storage grows unbounded with uptime. We want nodes to run in pruning mode — retaining only a recent window of blocks (e.g. the last
10,000) — so operators can run on far smaller disks. This must be validated on testnet first, then promoted to mainnet.Scope of this issue is execution-side (Reth) pruning only; the consensus layer is not pruned here (but see acceptance item A below for a related check).
Requirements
1. Reth pruning flag — availability & RPC correctness
Reth ships built-in pruning flags. Verify they actually work on our execution layer and that RPC semantics stay correct.
latestalways resolves to the chain head; newly produced blocks are immediately queryable.2. Custom-DB compatibility
If any component replaces Reth's StaticFiles or Reth's native DB with a custom store, confirm pruning still holds.
3. Storage footprint & semantic parity
10,000blocks), on-disk usage converges (stops growing monotonically) instead of climbing with uptime.Additional acceptance criteria
Done criteria
All three role types run in pruning mode on testnet, storage converges to the target window,
latest/RPC semantics match upstream Reth, and the consensus DB shows no new accumulation risk — then promote to mainnet.Each checkbox should land with reproducible evidence (commands / logs / a storage-over-time curve) and must not regress consensus participation, block production, or peer connectivity.
Suggested sequencing