Skip to content

Commit

Permalink
Merge pull request #10 from jcstein/jcs/update-container-name-and-sleep
Browse files Browse the repository at this point in the history
feat: update sleep and container name to work on both Mac and Linux
  • Loading branch information
Ferret-san authored Jan 12, 2024
2 parents d5635fb + 4763e34 commit 7714447
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version: "3.9"
services:
da:
container_name: da-celestia
platform: linux/x86_64
image: "celestia-local-devnet:latest"
ports:
Expand Down
10 changes: 5 additions & 5 deletions test-node.bash
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ if $force_init; then
echo == Bringing up Celestia Devnet
docker-compose up -d da
wait_up http://localhost:26659/header/1
export CELESTIA_NODE_AUTH_TOKEN="$(docker exec nitro-testnode_da_1 celestia bridge auth admin --node.store ${NODE_PATH})"
export CELESTIA_NODE_AUTH_TOKEN="$(docker exec da-celestia celestia bridge auth admin --node.store ${NODE_PATH})"


echo == Generating l1 keys
Expand Down Expand Up @@ -334,22 +334,22 @@ if $force_init; then
echo == Bringing up Celestia Devnet
docker-compose up -d da
wait_up http://localhost:26659/header/1
export CELESTIA_NODE_AUTH_TOKEN="$(docker exec nitro-testnode-da-1 celestia bridge auth admin --node.store ${NODE_PATH})"
export CELESTIA_NODE_AUTH_TOKEN="$(docker exec da-celestia celestia bridge auth admin --node.store ${NODE_PATH})"

echo == Bringing up Blobstream Orchestrator
docker-compose up -d orchestrator

echo "Waiting for Blobstream Contracts"
sleep 100s
sleep 100
echo == Bringing up Blobstream Relayer
docker-compose up -d relayer
sleep 30s
sleep 30

echo == Writing l2 chain config
docker-compose run scripts write-l2-chain-config

# Wait for Relayer to have deployed the contract
sleep 10s
sleep 10
echo == Deploying L2
sequenceraddress=`docker-compose run scripts print-address --account sequencer | tail -n 1 | tr -d '\r\n'`
export BLOBSTREAM_ADDRESS="$(docker exec relayer cat ${BLOBSTREAM_PATH})"
Expand Down

0 comments on commit 7714447

Please sign in to comment.