Skip to content

Commit

Permalink
test-node: generate l1 traffic on initialization
Browse files Browse the repository at this point in the history
might speed up initialization?
  • Loading branch information
tsahee committed Dec 13, 2022
1 parent 9cd5006 commit daf2bee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test-node.bash
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@ if $force_init; then
docker-compose run testnode-scripts send-l1 --ethamount 1000 --to validator --wait
docker-compose run testnode-scripts send-l1 --ethamount 1000 --to sequencer --wait

echo == create l1 traffic
docker-compose run testnode-scripts send-l1 --ethamount 1000 --to user_l1user --wait
docker-compose run testnode-scripts send-l1 --ethamount 0.0001 --from user_l1user --to user_l1user_b --wait --delay 500 --times 500 > /dev/null &


echo == Deploying L2
sequenceraddress=`docker-compose run testnode-scripts print-address --account sequencer | tail -n 1 | tr -d '\r\n'`
Expand Down

0 comments on commit daf2bee

Please sign in to comment.