From 1e6f905b0e7ce33cdb2eb56ce1c2c6025c27b46c Mon Sep 17 00:00:00 2001 From: ImJeremyHe Date: Fri, 22 Mar 2024 12:40:19 +0800 Subject: [PATCH] Set simple to false when running espresso --- test-node.bash | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test-node.bash b/test-node.bash index 2c242224..3ba1ea8b 100755 --- a/test-node.bash +++ b/test-node.bash @@ -77,6 +77,7 @@ while [[ $# -gt 0 ]]; do fi ;; --espresso) + simple=false espresso=true shift ;; @@ -349,7 +350,8 @@ if $force_init; then 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 10000 --to espresso-sequencer --wait + docker-compose run scripts send-l2 --ethamount 10000 --to espresso-sequencer --wait echo == create l1 traffic docker-compose run scripts send-l1 --ethamount 1000 --to user_l1user --wait @@ -373,8 +375,8 @@ if $force_init; then docker compose run --entrypoint sh sequencer -c "jq [.[]] /config/deployed_chain_info.json > /config/l2_chain_info.json" if $simple; then - echo == Writing configs --espresso $espresso --hotshot-address $hotShotAddr - docker compose run scripts write-config --simple --espresso $espresso --hotshot-address $hotShotAddr + echo == Writing configs + docker compose run scripts write-config --simple else echo == Writing configs docker compose run scripts write-config --espresso $espresso --hotshot-address $hotShotAddr