Skip to content

Commit 85a83e5

Browse files
committed
Update security path
1 parent 55e03f2 commit 85a83e5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

op-node/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ARG UPSTREAM_VERSION
22

33
FROM us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node:${UPSTREAM_VERSION}
44

5-
COPY /security /config/security
5+
COPY /security /security
66
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
77

88
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

op-node/entrypoint.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ esac
2121

2222
case $L2_CLIENT in
2323
"op-geth.dnp.dappnode.eth")
24-
L2_ENGINE="http://op-geth.dnp.dappnode:8551"
24+
L2_ENGINE="http://op-geth.dappnode:8551"
2525
JWT_PATH="/config/security/op-geth/jwtsecret.hex"
2626
;;
2727
"op-erigon.dnp.dappnode.eth")
28-
L2_ENGINE="http://op-erigon.dnp.dappnode:8551"
28+
L2_ENGINE="http://op-erigon.dappnode:8551"
2929
JWT_PATH="/config/security/op-erigon/jwtsecret.hex"
3030
;;
3131
*)
@@ -37,10 +37,10 @@ case $L2_CLIENT in
3737
;;
3838
esac
3939

40-
op-node --l1=$L1_RPC \
40+
exec op-node --network=mainnet \
41+
--l1=$L1_RPC \
4142
--l2=$L2_ENGINE \
4243
--l2.jwt-secret=$JWT_PATH \
43-
--network=mainnet \
4444
--rpc.addr=0.0.0.0 \
4545
--rpc.port=9545 \
4646
${EXTRA_FLAGS}

0 commit comments

Comments
 (0)