From 8fe131f5829035de759e13cbc5f8f5d5abf708ca Mon Sep 17 00:00:00 2001 From: ImJeremyHe Date: Mon, 19 Aug 2024 12:09:08 +0800 Subject: [PATCH] Fix smoke test --- docker-compose.yaml | 6 +++--- smoke-test.bash | 1 + test-node.bash | 6 +++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index d35bcdd4..a8d2aecd 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -377,9 +377,9 @@ services: - ESPRESSO_DEV_NODE_PORT - RUST_LOG=info - RUST_LOG_FORMAT - - ESPRESSO_DEPLOYER_ALT_CHAIN_PROVIDERS=${ESPRESSO_DEPLOYER_ALT_CHAIN_PROVIDERS:-} - - ESPRESSO_DEPLOYER_ALT_MNEMONICS=${ESPRESSO_DEPLOYER_ALT_MNEMONICS:-} - - ESPRESSO_SEQUENCER_DEPLOYER_ALT_INDICES=${ESPRESSO_SEQUENCER_DEPLOYER_ALT_INDICES:-} + - ESPRESSO_DEPLOYER_ALT_CHAIN_PROVIDERS + - ESPRESSO_DEPLOYER_ALT_MNEMONICS + - ESPRESSO_SEQUENCER_DEPLOYER_ALT_INDICES depends_on: - geth - sequencer diff --git a/smoke-test.bash b/smoke-test.bash index 5411af2c..c16c96f7 100755 --- a/smoke-test.bash +++ b/smoke-test.bash @@ -19,3 +19,4 @@ while true; do done echo "Smoke test succeeded" +docker compose down diff --git a/test-node.bash b/test-node.bash index 28c43cea..3d8a231c 100755 --- a/test-node.bash +++ b/test-node.bash @@ -282,7 +282,7 @@ if $l3node; then NODES="$NODES l3node" export ESPRESSO_DEPLOYER_ALT_CHAIN_PROVIDERS="http://sequencer:8547" export ESPRESSO_DEPLOYER_ALT_MNEMONICS="indoor dish desk flag debris potato excuse depart ticket judge file exit" - export ESPRESSO_SEQUENCER_DEPLOYER_ALT_INDICES="5" + export ESPRESSO_SEQUENCER_DEPLOYER_ALT_INDICES="6" fi if $blockscout; then NODES="$NODES blockscout" @@ -291,7 +291,7 @@ fi if $espresso; then if $l3node; then # If we run the `l3node` with enabling espresso mode, then the - # l2 node will be run without `espresso` mode. + # l2 node will run without `espresso` mode. l2_espresso=false fi if $force_build && $l2_espresso; then @@ -437,7 +437,7 @@ if $force_init; then docker compose up --wait $INITIAL_SEQ_NODES docker compose run scripts bridge-funds --ethamount 100000 --wait docker compose run scripts send-l2 --ethamount 10000 --to espresso-sequencer --wait - docker compose run scripts send-l2 --ethamount 10000 --to l2owner --wait + docker compose run scripts send-l2 --ethamount 100 --to l2owner --wait if $tokenbridge; then echo == Deploying L1-L2 token bridge