Skip to content

Commit

Permalink
Merge pull request OffchainLabs#24 from EspressoSystems/jh/simple
Browse files Browse the repository at this point in the history
Set simple is false when running espresso
  • Loading branch information
ImJeremyHe authored Mar 22, 2024
2 parents 3fd5f4b + 1e6f905 commit 428884c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test-node.bash
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ while [[ $# -gt 0 ]]; do
fi
;;
--espresso)
simple=false
espresso=true
shift
;;
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 428884c

Please sign in to comment.