Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update sleep and container name to work on both Mac and Linux #10

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
jcstein marked this conversation as resolved.
Show resolved Hide resolved
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