From 492be73a0edc564d8ceac4ba44ddaf4252257e6e Mon Sep 17 00:00:00 2001 From: tbro Date: Thu, 21 Mar 2024 13:18:24 -0500 Subject: [PATCH] call `docker compose` consistently `docker compose` is used everywhere except these few lines where we switch to `docker-compose`. --- test-node.bash | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test-node.bash b/test-node.bash index 2c242224..07ef13e2 100755 --- a/test-node.bash +++ b/test-node.bash @@ -346,22 +346,22 @@ if $force_init; then fi echo == Funding validator, sequencer and l2owner - docker-compose run scripts send-l1 --ethamount 1000 --to validator --wait - docker-compose run scripts send-l1 --ethamount 1000 --to sequencer --wait + docker compose run scripts send-l1 --ethamount 1000 --to validator --wait + docker compose run scripts send-l1 --ethamount 1000 --to sequencer --wait docker compose run scripts send-l1 --ethamount 1000 --to l2owner --wait - docker-compose run scripts send-l1 --ethamount 1000 --to espresso-sequencer --wait + docker compose run scripts send-l1 --ethamount 1000 --to espresso-sequencer --wait echo == create l1 traffic - docker-compose run scripts send-l1 --ethamount 1000 --to user_l1user --wait - docker-compose run scripts send-l1 --ethamount 0.0001 --from user_l1user --to user_l1user_b --wait --delay 500 --times 1000000 > /dev/null & + docker compose run scripts send-l1 --ethamount 1000 --to user_l1user --wait + docker compose run scripts send-l1 --ethamount 0.0001 --from user_l1user --to user_l1user_b --wait --delay 500 --times 1000000 > /dev/null & echo == Writing l2 chain config - docker-compose run scripts write-l2-chain-config --espresso $espresso + docker compose run scripts write-l2-chain-config --espresso $espresso if $espresso; then echo == Deploying Espresso Contract echo "" > espresso.env - docker-compose up -d commitment-task espresso-sequencer0 espresso-sequencer1 --wait + docker compose up -d commitment-task espresso-sequencer0 espresso-sequencer1 --wait hotShotAddr=`curl http://localhost:60000/api/hotshot_contract` echo "ESPRESSO_SEQUENCER_HOTSHOT_ADDRESS=$hotShotAddr" > espresso.env fi