File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 107107 cd ui && yarn dev
108108
109109playground-env :
110- echo " OP_NODE_P2P_BOOTNODES=$(grep 'enr=' ~/.playground/devnet/logs/op-node.log | sed -n 's/.*enr=\( [^ ]*\) .*/\1 /p')" > .env .playground
110+ echo " BUILDER_PLAYGROUND_HOST_IP=$(docker run --rm alpine nslookup host.docker.internal | awk '/Address: / && $2 !~ /:/ {print $2; exit}')" > .env .playground
111+ echo " BUILDER_PLAYGROUND_PEER_ID=$(grep 'started p2p host' ~/.playground/devnet/logs/op-node.log | sed -n 's/.*peerID=\( [^ ]*\) .*/\1 /p' | head -1)" >> .env .playground
112+ echo " OP_NODE_P2P_STATIC=/ip4/\$ BUILDER_PLAYGROUND_HOST_IP/tcp/9003/p2p/\$ BUILDER_PLAYGROUND_PEER_ID" >> .env .playground
111113
112114start-playground : playground-env (start-all " simulator" )
You can’t perform that action at this time.
0 commit comments