Skip to content

Commit 6ef324b

Browse files
committed
fix issues
1 parent 097f0c2 commit 6ef324b

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

.env.mainnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ BASE_NODE_L1_TRUST_RPC="false"
3838
# ENGINE CONFIGURATION
3939
# -------------------
4040
OP_NODE_L2_ENGINE_KIND=reth
41-
OP_NODE_L2_ENGINE_RPC=ws://execution:8551
41+
OP_NODE_L2_ENGINE_RPC=http://execution:8551
4242
OP_NODE_L2_ENGINE_AUTH=/tmp/engine-auth-jwt
4343
OP_NODE_L2_ENGINE_AUTH_RAW=688f5d737bad920bdfb2fc2f488d6b6209eebda1dae949a8de91398d932c517a
4444

.env.sepolia

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ OP_NODE_L2_ENGINE_RPC=ws://execution:8551
4242
OP_NODE_L2_ENGINE_AUTH=/tmp/engine-auth-jwt
4343
OP_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
4646
BASE_NODE_L2_ENGINE_AUTH=/tmp/engine-auth-jwt
4747
BASE_NODE_L2_ENGINE_AUTH_RAW=688f5d737bad920bdfb2fc2f488d6b6209eebda1dae949a8de91398d932c517a
4848

base-consensus-entrypoint

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,4 @@ export BASE_NODE_P2P_ADVERTISE_IP=$PUBLIC_IP
4444

4545
echo "$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

consensus-entrypoint

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ set -eu
33

44
if [ "${USE_BASE_CONSENSUS:-false}" = "true" ]; then
55
echo "Using Base Client"
6-
exec base-consensus-entrypoint
6+
exec ./base-consensus-entrypoint
77
else
88
echo "Using OP Node"
9-
exec op-node-entrypoint
10-
end
9+
exec ./op-node-entrypoint
10+
fi

docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)