Skip to content

Commit

Permalink
Fix smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
ImJeremyHe committed Aug 19, 2024
1 parent c035a28 commit 8fe131f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions smoke-test.bash
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ while true; do
done

echo "Smoke test succeeded"
docker compose down
6 changes: 3 additions & 3 deletions test-node.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8fe131f

Please sign in to comment.