File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ BASE_NODE_L1_TRUST_RPC="false"
3838# ENGINE CONFIGURATION
3939# -------------------
4040OP_NODE_L2_ENGINE_KIND=reth
41- OP_NODE_L2_ENGINE_RPC=ws ://execution:8551
41+ OP_NODE_L2_ENGINE_RPC=http ://execution:8551
4242OP_NODE_L2_ENGINE_AUTH=/tmp/engine-auth-jwt
4343OP_NODE_L2_ENGINE_AUTH_RAW=688f5d737bad920bdfb2fc2f488d6b6209eebda1dae949a8de91398d932c517a
4444
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ OP_NODE_L2_ENGINE_RPC=ws://execution:8551
4242OP_NODE_L2_ENGINE_AUTH=/tmp/engine-auth-jwt
4343OP_NODE_L2_ENGINE_AUTH_RAW=688f5d737bad920bdfb2fc2f488d6b6209eebda1dae949a8de91398d932c517a
4444
45- BASE_NODE_L2_ENGINE_RPC=ws ://execution:8551
45+ BASE_NODE_L2_ENGINE_RPC=http ://execution:8551
4646BASE_NODE_L2_ENGINE_AUTH=/tmp/engine-auth-jwt
4747BASE_NODE_L2_ENGINE_AUTH_RAW=688f5d737bad920bdfb2fc2f488d6b6209eebda1dae949a8de91398d932c517a
4848
Original file line number Diff line number Diff line change @@ -44,8 +44,4 @@ export BASE_NODE_P2P_ADVERTISE_IP=$PUBLIC_IP
4444
4545echo " $BASE_NODE_L2_ENGINE_AUTH_RAW " > " $BASE_NODE_L2_ENGINE_AUTH "
4646
47- if [[ -n " ${BASE_NODE_SOURCE_L2_RPC:- } " ]]; then
48- exec ./base-consensus follow
49- fi
50-
51- exec ./base-consensus node
47+ exec ./base-consensus
Original file line number Diff line number Diff line change 33
44if [ " ${USE_BASE_CONSENSUS:- false} " = " true" ]; then
55 echo " Using Base Client"
6- exec base-consensus-entrypoint
6+ exec ./ base-consensus-entrypoint
77else
88 echo " Using OP Node"
9- exec op-node-entrypoint
10- end
9+ exec ./ op-node-entrypoint
10+ fi
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ services:
1313 command : ["bash", "./execution-entrypoint"]
1414 volumes :
1515 - ${HOST_DATA_DIR}:/data
16+ environment :
17+ - USE_BASE_CONSENSUS=${USE_BASE_CONSENSUS:-false}
1618 env_file :
1719 - ${NETWORK_ENV:-.env.mainnet} # Use .env.mainnet by default, override with .env.sepolia for testnet
1820 node :
@@ -29,5 +31,7 @@ services:
2931 - " 7300:7300" # metrics
3032 - " 6060:6060" # pprof
3133 command : ["bash", "./consensus-entrypoint"]
34+ environment :
35+ - USE_BASE_CONSENSUS=${USE_BASE_CONSENSUS:-false}
3236 env_file :
3337 - ${NETWORK_ENV:-.env.mainnet} # Use .env.mainnet by default, override with .env.sepolia for testnet
You can’t perform that action at this time.
0 commit comments