From 1bb35beab42ba3a14d57c593974390867b2bbe07 Mon Sep 17 00:00:00 2001 From: William Law Date: Fri, 31 Oct 2025 10:31:08 -0400 Subject: [PATCH] add pruning snapshot capability --- reth/reth-entrypoint | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/reth/reth-entrypoint b/reth/reth-entrypoint index 16775e2b..0f2132ad 100755 --- a/reth/reth-entrypoint +++ b/reth/reth-entrypoint @@ -32,6 +32,11 @@ else BINARY="./op-reth" fi +# Add pruning for base +if [[ "$NODE_TYPE" == "base" && -n "${RETH_PRUNING_ARGS+x}" = x ]]; then + ADDITIONAL_ARGS="$ADDITIONAL_ARGS $RETH_PRUNING_ARGS" +fi + mkdir -p "$RETH_DATA_DIR" echo "$OP_NODE_L2_ENGINE_AUTH_RAW" > "$OP_NODE_L2_ENGINE_AUTH"