Skip to content

Commit 14d0a21

Browse files
authored
add pruning snapshot capability (#625)
1 parent 4c24721 commit 14d0a21

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

reth/reth-entrypoint

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ else
3232
BINARY="./op-reth"
3333
fi
3434

35+
# Add pruning for base
36+
if [[ "$NODE_TYPE" == "base" && -n "${RETH_PRUNING_ARGS+x}" = x ]]; then
37+
ADDITIONAL_ARGS="$ADDITIONAL_ARGS $RETH_PRUNING_ARGS"
38+
fi
39+
3540
mkdir -p "$RETH_DATA_DIR"
3641
echo "$OP_NODE_L2_ENGINE_AUTH_RAW" > "$OP_NODE_L2_ENGINE_AUTH"
3742

0 commit comments

Comments
 (0)