File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ DISCOVERY_PORT="${DISCOVERY_PORT:-30303}"
1111P2P_PORT=" ${P2P_PORT:- 30303} "
1212ADDITIONAL_ARGS=" "
1313NODE_TYPE=" ${NODE_TYPE:- base} "
14+ RETH_HISTORICAL_PROOFS=" ${RETH_HISTORICAL_PROOFS:- false} "
15+ RETH_HISTORICAL_PROOFS_STORAGE_PATH=" ${RETH_HISTORICAL_PROOFS_STORAGE_PATH:- } "
1416
1517if [[ -z " ${RETH_CHAIN:- } " ]]; then
1618 echo " expected RETH_CHAIN to be set" 1>&2
@@ -29,6 +31,10 @@ if [[ "$NODE_TYPE" == "base" && "${RETH_PRUNING_ARGS+x}" = x ]]; then
2931 ADDITIONAL_ARGS=" $ADDITIONAL_ARGS $RETH_PRUNING_ARGS "
3032fi
3133
34+ if [[ " $RETH_HISTORICAL_PROOFS " == " true" && -n " $RETH_HISTORICAL_PROOFS_STORAGE_PATH " ]]; then
35+ ADDITIONAL_ARGS=" $ADDITIONAL_ARGS --proofs-history --proofs-history.storage-path=$RETH_HISTORICAL_PROOFS_STORAGE_PATH "
36+ fi
37+
3238mkdir -p " $RETH_DATA_DIR "
3339echo " $OP_NODE_L2_ENGINE_AUTH_RAW " > " $OP_NODE_L2_ENGINE_AUTH "
3440
You can’t perform that action at this time.
0 commit comments