File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ This repository contains the relevant Docker builds to run your own node on the
3232We recommend you have this configuration to run a node:
3333
3434- at least 16 GB RAM
35- - an SSD drive with at least 1 TB free
35+ - an SSD drive with at least 2 TB free
3636
3737### Troubleshooting
3838
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ METRICS_PORT="${METRICS_PORT:-6060}"
1010HOST_IP=" 0.0.0.0"
1111P2P_PORT=" ${P2P_PORT:- 30303} "
1212ADDITIONAL_ARGS=" "
13+ OP_GETH_GCMODE=" ${OP_GETH_GCMODE:- archive} "
1314
1415if [[ -z " $OP_NODE_NETWORK " ]]; then
1516 echo " expected OP_NODE_NETWORK to be set" 1>&2
@@ -28,6 +29,10 @@ if [ "${OP_GETH_ALLOW_UNPROTECTED_TXS+x}" = x ]; then
2829 ADDITIONAL_ARGS=" $ADDITIONAL_ARGS --rpc.allow-unprotected-txs=$OP_GETH_ALLOW_UNPROTECTED_TXS "
2930fi
3031
32+ if [ " ${OP_GETH_STATE_SCHEME+x} " = x ]; then
33+ ADDITIONAL_ARGS=" $ADDITIONAL_ARGS --state.scheme=$OP_GETH_STATE_SCHEME "
34+ fi
35+
3136exec ./geth \
3237 --datadir=" $GETH_DATA_DIR " \
3338 --verbosity=" $VERBOSITY " \
@@ -50,12 +55,12 @@ exec ./geth \
5055 --metrics.addr=0.0.0.0 \
5156 --metrics.port=" $METRICS_PORT " \
5257 --syncmode=full \
53- --gcmode=archive \
58+ --gcmode=" $OP_GETH_GCMODE " \
5459 --nodiscover \
5560 --maxpeers=100 \
5661 --nat=extip:$HOST_IP \
5762 --rollup.sequencerhttp=" $OP_GETH_SEQUENCER_HTTP " \
5863 --rollup.halt=major \
59- --op-network=$OP_NODE_NETWORK " \
64+ --op-network=" $OP_NODE_NETWORK " \
6065 --port=" $P2P_PORT " \
6166 $ADDITIONAL_ARGS # intentionally unquoted
You can’t perform that action at this time.
0 commit comments