File tree Expand file tree Collapse file tree 3 files changed +15
-11
lines changed Expand file tree Collapse file tree 3 files changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,10 @@ OP_NODE_P2P_LISTEN_IP=0.0.0.0
39
39
OP_NODE_P2P_LISTEN_TCP_PORT=9222
40
40
OP_NODE_P2P_LISTEN_UDP_PORT=9222
41
41
OP_NODE_INTERNAL_IP="true"
42
+ OP_NODE_P2P_ADVERTISE_IP=host.docker.internal
43
+ OP_NODE_P2P_ADVERTISE_TCP=19222
44
+ OP_NODE_P2P_ADVERTISE_UDP=19222
42
45
43
- # RETH CONFIGURATION
44
- # ----------------
45
- OP_RETH_DISABLE_DISCOVERY="false"
46
- OP_RETH_DISABLE_TX_POOL_GOSSIP="true"
47
46
48
47
# RPC CONFIGURATION
49
48
# ---------------
@@ -52,7 +51,7 @@ OP_NODE_RPC_PORT=8545
52
51
53
52
# LOGGING & MONITORING
54
53
# ------------------
55
- OP_NODE_LOG_LEVEL=info
54
+ OP_NODE_LOG_LEVEL=debug
56
55
OP_NODE_LOG_FORMAT="json"
57
56
OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
58
57
OP_NODE_METRICS_ENABLED="true"
Original file line number Diff line number Diff line change @@ -13,12 +13,17 @@ services:
13
13
- bash
14
14
- -c
15
15
- |
16
- OP_NODE_L2_ENGINE_AUTH_RAW=$(cat /data/jwtsecret)
17
- OP_NODE_P2P_BOOTNODES=$(grep 'enr=' /artifacts/logs/op-node.log | sed -n 's/.*enr=\([^ ]*\).*/\1/p')
18
- export OP_NODE_L2_ENGINE_AUTH_RAW OP_NODE_P2P_BOOTNODES
19
- exec ./op-node-entrypoint
16
+ echo "Writing JWT secret to $${OP_NODE_L2_ENGINE_AUTH}"
17
+ cat /data/jwtsecret > "$${OP_NODE_L2_ENGINE_AUTH}"
18
+ export OP_NODE_P2P_BOOTNODES=$(grep 'enr=' /artifacts/logs/op-node.log | sed -n 's/.*enr=\([^ ]*\).*/\1/p')
19
+ eval "OP_NODE_L2_ENGINE_HTTP=\$${OP_NODE_L2_ENGINE_RPC/ws/http}"
20
+ until [ "$(curl -s -w '%{http_code}' -o /dev/null "$${OP_NODE_L2_ENGINE_HTTP}")" -eq 401 ]; do
21
+ echo "waiting for execution client to be ready"
22
+ sleep 5
23
+ done
24
+ exec ./op-node
20
25
volumes :
21
- - ~/.playground/devnet/ :/artifacts
26
+ - ~/.playground/devnet:/artifacts
22
27
- ~/.playground/devnet/jwtsecret:/data/jwtsecret
23
28
- ~/.playground/devnet/rollup.json:/data/rollup.json
24
29
env_file :
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ simulator:
93
93
cargo run --bin tips-simulator node
94
94
95
95
simulator-playground :
96
- cargo run --bin tips-simulator node --builder.playground --datadir ~/ .playground/ devnet/ tips-simulator --authrpc.port=8554
96
+ RUST_LOG=debug cargo run --bin tips-simulator node --builder.playground --datadir ~/ .playground/ devnet/ tips-simulator --authrpc.port=8554
97
97
98
98
ui :
99
99
cd ui && yarn dev
You can’t perform that action at this time.
0 commit comments