diff --git a/op-bnb-reth.yml b/op-bnb-reth.yml index 99641cf0..27e69e50 100644 --- a/op-bnb-reth.yml +++ b/op-bnb-reth.yml @@ -34,7 +34,8 @@ services: entrypoint: /scripts/op-node-start.sh environment: OP_NODE__RPC_ENDPOINT: ${OPBNB_BSC_ENDPOINT} - OP_NODE_L1_RPC_KIND: ${OPBNB_BSC_ENDPOINT_KIND:-basic} + OP_NODE__RPC_ENDPOINT: ${OPBNB_BSC_ENDPOINT} + OP_NODE__RPC_ENDPOINT_KIND: ${OPBNB_BSC_ENDPOINT_KIND:-basic} OP_L2_HOST: op-bnb-reth P2P_PRIV_KEY: ${OPBNB_NODE_PRIV_KEY} NETWORK_NAME: mainnet diff --git a/op-bnb/scripts/op-node-start.sh b/op-bnb/scripts/op-node-start.sh index 66ee9597..48c8a617 100755 --- a/op-bnb/scripts/op-node-start.sh +++ b/op-bnb/scripts/op-node-start.sh @@ -36,8 +36,9 @@ exec op-node \ --pprof.enabled \ --rpc.enable-admin \ --l1=$OP_NODE__RPC_ENDPOINT \ + --l1.kind=$OP_NODE__RPC_ENDPOINT_KIND \ --l2=http://${OP_L2_HOST:-op-bnb}:8551 \ --l2.jwt-secret=/jwtsecret \ --l2.skip-sync-start-check=true \ -# --l2.engine-sync=true \ + --l2.engine-sync=true \ --log.level=info