@@ -53,43 +53,43 @@ while true; do
5353 # Between 1 and 3 elapsed intervals (5 to 15 minutes), if gas price is below 1.5 gwei, send a proof
5454 message=" Sending proof at $elapsed_intervals with gas price $current_gas_price wei"
5555 echo " $message "
56- send_proof_background ()
56+ send_proof_background
5757 elapsed_intervals=0
5858 elif { [ $elapsed_intervals -ge 3 ] && [ $elapsed_intervals -lt 6 ] && [ $current_gas_price -lt 4500000000 ]; }; then
5959 # Between 3 and 6 elapsed intervals (15 to 30 minutes), if gas price is below 4.5 gwei, send a proof
6060 message=" Sending proof at $elapsed_intervals with gas price $current_gas_price wei"
6161 echo " $message "
62- send_proof_background ()
62+ send_proof_background
6363 elapsed_intervals=0
6464 elif { [ $elapsed_intervals -ge 6 ] && [ $elapsed_intervals -lt 12 ] && [ $current_gas_price -lt 9000000000 ]; }; then
6565 # Between 6 and 12 elapsed intervals (30 minutes to 1 hour), if gas price is below 9 gwei, send a proof
6666 message=" Sending proof at $elapsed_intervals with gas price $current_gas_price wei"
6767 echo " $message "
68- send_proof_background ()
68+ send_proof_background
6969 elapsed_intervals=0
7070 elif { [ $elapsed_intervals -ge 12 ] && [ $elapsed_intervals -lt 24 ] && [ $current_gas_price -lt 24000000000 ]; }; then
7171 # Between 12 and 24 elapsed intervals (1 to 2 hours), if gas price is below 24 gwei, send a proof
7272 message=" Sending proof at $elapsed_intervals with gas price $current_gas_price wei"
7373 echo " $message "
74- send_proof_background ()
74+ send_proof_background
7575 elapsed_intervals=0
7676 elif { [ $elapsed_intervals -ge 24 ] && [ $elapsed_intervals -lt 48 ] && [ $current_gas_price -lt 48000000000 ]; }; then
7777 # Between 24 and 48 elapsed intervals (2 to 4 hours), if gas price is below 48 gwei, send a proof
7878 message=" Sending proof at $elapsed_intervals with gas price $current_gas_price wei"
7979 echo " $message "
80- send_proof_background ()
80+ send_proof_background
8181 elapsed_intervals=0
8282 elif { [ $elapsed_intervals -ge 48 ] && [ $elapsed_intervals -lt 96 ] && [ $current_gas_price -lt 96000000000 ]; }; then
8383 # Between 48 and 96 elapsed intervals (4 to 8 hours), if gas price is below 96 gwei, send a proof
8484 message=" Sending proof at $elapsed_intervals with gas price $current_gas_price wei"
8585 echo " $message "
86- send_proof_background ()
86+ send_proof_background
8787 elapsed_intervals=0
8888 elif { [ $elapsed_intervals -ge 96 ] && [ $current_gas_price -lt 192000000000 ]; }; then
8989 # After 96 elapsed intervals (8 hours), if gas price is below 192 gwei, send a proof
9090 message=" Sending proof at $elapsed_intervals with gas price $current_gas_price wei"
9191 echo " $message "
92- send_proof_background ()
92+ send_proof_background
9393 elapsed_intervals=0
9494 fi
9595
0 commit comments