File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828
2929mkdir -p $GETH_DATA_DIR
3030
31- echo " $BASE_NODE_L2_ENGINE_AUTH_RAW " > " $BASE_NODE_L2_ENGINE_AUTH "
31+ echo " $OP_NODE_L2_ENGINE_AUTH_RAW " > " $OP_NODE_L2_ENGINE_AUTH "
3232
3333if [ " ${OP_GETH_ETH_STATS+x} " = x ]; then
3434 ADDITIONAL_ARGS=" $ADDITIONAL_ARGS --ethstats=$OP_GETH_ETH_STATS "
@@ -62,7 +62,7 @@ exec ./geth \
6262 --authrpc.addr=0.0.0.0 \
6363 --authrpc.port=" $AUTHRPC_PORT " \
6464 --authrpc.vhosts=" *" \
65- --authrpc.jwtsecret=" $BASE_NODE_L2_ENGINE_AUTH " \
65+ --authrpc.jwtsecret=" $OP_NODE_L2_ENGINE_AUTH " \
6666 --ws \
6767 --ws.addr=0.0.0.0 \
6868 --ws.port=" $WS_PORT " \
Original file line number Diff line number Diff line change 2323mkdir -p " $NETHERMIND_DATA_DIR "
2424
2525# Write the JWT secret
26- if [[ -z " $BASE_NODE_L2_ENGINE_AUTH_RAW " ]]; then
27- echo " Expected BASE_NODE_L2_ENGINE_AUTH_RAW to be set" 1>&2
26+ if [[ -z " $OP_NODE_L2_ENGINE_AUTH_RAW " ]]; then
27+ echo " Expected OP_NODE_L2_ENGINE_AUTH_RAW to be set" 1>&2
2828 exit 1
2929fi
30- echo " $BASE_NODE_L2_ENGINE_AUTH_RAW " > " $BASE_NODE_L2_ENGINE_AUTH "
30+ echo " $OP_NODE_L2_ENGINE_AUTH_RAW " > " $OP_NODE_L2_ENGINE_AUTH "
3131
3232# Additional arguments based on environment variables
3333if [[ -n " ${OP_NETHERMIND_BOOTNODES:- } " ]]; then
@@ -52,7 +52,7 @@ exec ./nethermind \
5252 --JsonRpc.Host=0.0.0.0 \
5353 --JsonRpc.WebSocketsPort=" $WS_PORT " \
5454 --JsonRpc.Port=" $RPC_PORT " \
55- --JsonRpc.JwtSecretFile=" $BASE_NODE_L2_ENGINE_AUTH " \
55+ --JsonRpc.JwtSecretFile=" $OP_NODE_L2_ENGINE_AUTH " \
5656 --JsonRpc.EngineHost=0.0.0.0 \
5757 --JsonRpc.EnginePort=" $AUTHRPC_PORT " \
5858 --HealthChecks.Enabled=true \
You can’t perform that action at this time.
0 commit comments