From 14c063d892cc2fcdf182d131bdef4e208a803c12 Mon Sep 17 00:00:00 2001 From: William Law Date: Fri, 28 Nov 2025 10:45:43 -0500 Subject: [PATCH 1/2] add pruning args to env file --- .env.mainnet | 4 ++++ .env.sepolia | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.env.mainnet b/.env.mainnet index edf63ada..d295de6c 100644 --- a/.env.mainnet +++ b/.env.mainnet @@ -96,3 +96,7 @@ STATSD_ADDRESS="172.17.0.1" # FLASHBLOCKS (OPTIONAL - UNCOMMENT TO ENABLE) # RETH_FB_WEBSOCKET_URL=wss://mainnet.flashblocks.base.org/ws + +# PRUNING (OPTIONAL - UNCOMMENT TO ENABLE) +# NOTE: Set any number of blocks you want, but it should be >10064 +# RETH_PRUNING_ARGS="--prune.senderrecovery.distance=50000 --prune.transactionlookup.distance=50000 --prune.receipts.distance=50000 --prune.accounthistory.distance=50000 --prune.storagehistory.distance=50000 --prune.bodies.distance=50000" diff --git a/.env.sepolia b/.env.sepolia index 526c0520..3ae55265 100644 --- a/.env.sepolia +++ b/.env.sepolia @@ -96,3 +96,7 @@ STATSD_ADDRESS="172.17.0.1" # FLASHBLOCKS (OPTIONAL - UNCOMMENT TO ENABLE) # RETH_FB_WEBSOCKET_URL=wss://sepolia.flashblocks.base.org/ws + +# PRUNING (OPTIONAL - UNCOMMENT TO ENABLE) +# NOTE: Set any number of blocks you want, but it should be >10064 +# RETH_PRUNING_ARGS="--prune.senderrecovery.distance=50000 --prune.transactionlookup.distance=50000 --prune.receipts.distance=50000 --prune.accounthistory.distance=50000 --prune.storagehistory.distance=50000 --prune.bodies.distance=50000" From 7bc620d69c12046596b26d480dadeaef5b35c753 Mon Sep 17 00:00:00 2001 From: William Law Date: Fri, 28 Nov 2025 10:51:06 -0500 Subject: [PATCH 2/2] add disclaimers --- .env.mainnet | 6 ++++-- .env.sepolia | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.env.mainnet b/.env.mainnet index d295de6c..58f54ab6 100644 --- a/.env.mainnet +++ b/.env.mainnet @@ -97,6 +97,8 @@ STATSD_ADDRESS="172.17.0.1" # FLASHBLOCKS (OPTIONAL - UNCOMMENT TO ENABLE) # RETH_FB_WEBSOCKET_URL=wss://mainnet.flashblocks.base.org/ws -# PRUNING (OPTIONAL - UNCOMMENT TO ENABLE) -# NOTE: Set any number of blocks you want, but it should be >10064 +# PRUNING (OPTIONAL EXPERIMENTAL FEATURE - UNCOMMENT TO ENABLE) +# NOTE: Pruning snapshots are not yet available +# NOTE: Set to any number of blocks you want, but it should be >10064 +# NOTE: The node type that was chosen when first running a node cannot be changed after the initial sync. Turning Archive into Pruned, or Pruned into Full is not supported [source](https://reth.rs/run/faq/pruning/). # RETH_PRUNING_ARGS="--prune.senderrecovery.distance=50000 --prune.transactionlookup.distance=50000 --prune.receipts.distance=50000 --prune.accounthistory.distance=50000 --prune.storagehistory.distance=50000 --prune.bodies.distance=50000" diff --git a/.env.sepolia b/.env.sepolia index 3ae55265..f7718712 100644 --- a/.env.sepolia +++ b/.env.sepolia @@ -97,6 +97,8 @@ STATSD_ADDRESS="172.17.0.1" # FLASHBLOCKS (OPTIONAL - UNCOMMENT TO ENABLE) # RETH_FB_WEBSOCKET_URL=wss://sepolia.flashblocks.base.org/ws -# PRUNING (OPTIONAL - UNCOMMENT TO ENABLE) -# NOTE: Set any number of blocks you want, but it should be >10064 +# PRUNING (OPTIONAL EXPERIMENTAL FEATURE - UNCOMMENT TO ENABLE) +# NOTE: Pruning snapshots are not yet available +# NOTE: Set to any number of blocks you want, but it should be >10064 +# NOTE: The node type that was chosen when first running a node cannot be changed after the initial sync. Turning Archive into Pruned, or Pruned into Full is not supported [source](https://reth.rs/run/faq/pruning/). # RETH_PRUNING_ARGS="--prune.senderrecovery.distance=50000 --prune.transactionlookup.distance=50000 --prune.receipts.distance=50000 --prune.accounthistory.distance=50000 --prune.storagehistory.distance=50000 --prune.bodies.distance=50000"