File tree Expand file tree Collapse file tree 5 files changed +7
-11
lines changed
Expand file tree Collapse file tree 5 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,6 @@ BASE_NODE_L1_TRUST_RPC="false"
3939# -------------------
4040OP_NODE_L2_ENGINE_KIND=reth
4141OP_NODE_L2_ENGINE_RPC=http://execution:8551
42- OP_NODE_L2_ENGINE_AUTH=/tmp/engine-auth-jwt
43- OP_NODE_L2_ENGINE_AUTH_RAW=688f5d737bad920bdfb2fc2f488d6b6209eebda1dae949a8de91398d932c517a
4442
4543BASE_NODE_L2_ENGINE_RPC=ws://execution:8551
4644BASE_NODE_L2_ENGINE_AUTH=/tmp/engine-auth-jwt
Original file line number Diff line number Diff line change @@ -39,8 +39,6 @@ BASE_NODE_L1_TRUST_RPC="false"
3939# -------------------
4040OP_NODE_L2_ENGINE_KIND=reth
4141OP_NODE_L2_ENGINE_RPC=ws://execution:8551
42- OP_NODE_L2_ENGINE_AUTH=/tmp/engine-auth-jwt
43- OP_NODE_L2_ENGINE_AUTH_RAW=688f5d737bad920bdfb2fc2f488d6b6209eebda1dae949a8de91398d932c517a
4442
4543BASE_NODE_L2_ENGINE_RPC=http://execution:8551
4644BASE_NODE_L2_ENGINE_AUTH=/tmp/engine-auth-jwt
Original file line number Diff line number Diff line change 2828
2929mkdir -p $GETH_DATA_DIR
3030
31- echo " $OP_NODE_L2_ENGINE_AUTH_RAW " > " $OP_NODE_L2_ENGINE_AUTH "
31+ echo " $BASE_NODE_L2_ENGINE_AUTH_RAW " > " $BASE_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=" $OP_NODE_L2_ENGINE_AUTH " \
65+ --authrpc.jwtsecret=" $BASE_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 " $OP_NODE_L2_ENGINE_AUTH_RAW " ]]; then
27- echo " Expected OP_NODE_L2_ENGINE_AUTH_RAW to be set" 1>&2
26+ if [[ -z " $BASE_NODE_L2_ENGINE_AUTH_RAW " ]]; then
27+ echo " Expected BASE_NODE_L2_ENGINE_AUTH_RAW to be set" 1>&2
2828 exit 1
2929fi
30- echo " $OP_NODE_L2_ENGINE_AUTH_RAW " > " $OP_NODE_L2_ENGINE_AUTH "
30+ echo " $BASE_NODE_L2_ENGINE_AUTH_RAW " > " $BASE_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=" $OP_NODE_L2_ENGINE_AUTH " \
55+ --JsonRpc.JwtSecretFile=" $BASE_NODE_L2_ENGINE_AUTH " \
5656 --JsonRpc.EngineHost=0.0.0.0 \
5757 --JsonRpc.EnginePort=" $AUTHRPC_PORT " \
5858 --HealthChecks.Enabled=true \
Original file line number Diff line number Diff line change 4242fi
4343export OP_NODE_P2P_ADVERTISE_IP=$PUBLIC_IP
4444
45- echo " $OP_NODE_L2_ENGINE_AUTH_RAW " > " $OP_NODE_L2_ENGINE_AUTH "
45+ echo " $BASE_NODE_L2_ENGINE_AUTH_RAW " > " $BASE_NODE_L2_ENGINE_AUTH "
4646
4747exec ./op-node
You can’t perform that action at this time.
0 commit comments