File tree Expand file tree Collapse file tree 2 files changed +567
-565
lines changed Expand file tree Collapse file tree 2 files changed +567
-565
lines changed Original file line number Diff line number Diff line change 4
4
# then polls the account balance until the expected balance has been reached
5
5
# and then kills the process. It also measures the elapsed time of the test and
6
6
# outputs it to Github Action's outputs.
7
- iterations=1500
7
+ iterations=3500
8
8
value=1
9
9
account=0x33c6b73432B3aeA0C1725E415CC40D04908B85fd
10
10
end_val=$(( 171 * $iterations * $value ))
@@ -13,9 +13,11 @@ ethrex_l2 test load --path /home/runner/work/ethrex/ethrex/test_data/private_key
13
13
14
14
start_time=$( date +%s)
15
15
output=$( ethrex_l2 info -b -a $account --wei 2>&1 )
16
+ echo " balance: $output "
16
17
while [[ $output -lt $end_val ]]; do
17
- sleep 5
18
+ sleep 2
18
19
output=$( ethrex_l2 info -b -a $account --wei 2>&1 )
20
+ echo " balance: $output "
19
21
done
20
22
end_time=$( date +%s)
21
23
elapsed=$(( end_time - start_time))
You can’t perform that action at this time.
0 commit comments