Skip to content

Conversation

@wlawt
Copy link
Contributor

@wlawt wlawt commented Oct 31, 2025

Overview

This PR adds flags to enable pruning for reth snapshots.

$RETH_PRUNING_ARGS will populate as follows:

--prune.senderrecovery.distance=50000 --prune.transactionlookup.distance=50000 --prune.receipts.distance=50000 --prune.accounthistory.distance=50000 --prune.storagehistory.distance=50000 --prune.bodies.distance=50000

Reference: https://github.com/paradigmxyz/reth/blob/main/crates/node/core/src/args/pruning.rs#L31

The .distance ensures that we keep the last 50001 blocks.

@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Oct 31, 2025

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@wlawt wlawt merged commit 14d0a21 into main Oct 31, 2025
11 checks passed
@wlawt wlawt deleted the pruning branch October 31, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants