From daf2bee5db25063f2977766072a6f6f83c094d50 Mon Sep 17 00:00:00 2001 From: Tsahi Zidenberg Date: Mon, 12 Dec 2022 21:26:54 -0700 Subject: [PATCH] test-node: generate l1 traffic on initialization might speed up initialization? --- test-node.bash | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test-node.bash b/test-node.bash index 42d4b0c1bc9..31c19226e01 100755 --- a/test-node.bash +++ b/test-node.bash @@ -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'`