Skip to content

Commit 55e03f2

Browse files
committed
Replace L1 RPC by ENGINE
1 parent 39f3073 commit 55e03f2

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ services:
99
L2_CLIENT: op-geth.dnp.dappnode.eth
1010
USER_JWT: ""
1111
restart: unless-stopped
12-
image: "geth.op-node.dnp.dappnode.eth:0.1.0"

op-node/entrypoint.sh

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

2222
case $L2_CLIENT in
2323
"op-geth.dnp.dappnode.eth")
24-
L2_RPC="http://op-geth.dnp.dappnode:8545"
24+
L2_ENGINE="http://op-geth.dnp.dappnode:8551"
2525
JWT_PATH="/config/security/op-geth/jwtsecret.hex"
2626
;;
2727
"op-erigon.dnp.dappnode.eth")
28-
L2_RPC="http://op-erigon.dnp.dappnode:8545"
28+
L2_ENGINE="http://op-erigon.dnp.dappnode:8551"
2929
JWT_PATH="/config/security/op-erigon/jwtsecret.hex"
3030
;;
3131
*)
3232
echo "Unknown value for L2_CLIENT: $L2_CLIENT"
33-
L2_RPC=$L2_CLIENT
33+
L2_ENGINE=$L2_CLIENT
3434
mkdir -p /config/security/user
3535
echo $USER_JWT >/config/security/user/jwtsecret.hex
3636
JWT_PATH="/config/security/user/jwtsecret.hex"
3737
;;
3838
esac
3939

4040
op-node --l1=$L1_RPC \
41-
--l2=$L2_RPC \
42-
--network=beta-1 \
41+
--l2=$L2_ENGINE \
42+
--l2.jwt-secret=$JWT_PATH \
43+
--network=mainnet \
4344
--rpc.addr=0.0.0.0 \
4445
--rpc.port=9545 \
45-
--l2.jwt-secret=$JWT_PATH \
4646
${EXTRA_FLAGS}

0 commit comments

Comments
 (0)