#!/bin/bash
RETRIES=${RETRIES:-20}
JSON='{"jsonrpc":"2.0","id":0,"method":"net_version","params":[]}'
# wait for the base layer to be up
curl -H "Content-Type: application/json" --retry-connrefused --retry $RETRIES --retry-delay 1 -d $JSON $L1_NODE_WEB3_URL
yarn run deploy
# serve the addrs and the state dump
exec ./bin/serve_dump.sh
-
Mark Tyneway authored8ae059c6