@@ -27,7 +27,7 @@ use sp1_vector_primitives::types::ProofType;
2727use sp1_vectorx_script:: relay:: { self } ;
2828use sp1_vectorx_script:: SP1_VECTOR_ELF ;
2929use tracing:: level_filters:: LevelFilter ;
30- use tracing:: { debug, error, info, instrument} ;
30+ use tracing:: { debug, error, info, instrument, warn } ;
3131use tracing_subscriber:: layer:: SubscriberExt ;
3232use tracing_subscriber:: util:: SubscriberInitExt ;
3333
@@ -884,7 +884,7 @@ where
884884 usd_estimate = round_to_decimals( effective_gas_estimate, 2 )
885885 ) ;
886886
887- error ! (
887+ warn ! (
888888 message = "Failed to match send proof condition" ,
889889 gas_estimate = effective_gas_estimate,
890890 attempts = attempt
@@ -893,13 +893,13 @@ where
893893 // 2. Otherwise let's wait and see if the price will go down later. Do this
894894 // for [`max_estimate_retries`] times
895895 if attempt < max_estimate_retries {
896- error ! ( message = "Retrying..." , ) ;
896+ warn ! ( message = "Retrying..." , ) ;
897897 sleep ( Duration :: from_secs ( retry_sleep_interval) ) . await ;
898898 attempt += 1 ;
899899 continue ;
900900 }
901901
902- error ! ( message = "Exhausted all retires. Checking one more time but this time with a higher threshold" , ) ;
902+ warn ! ( message = "Exhausted all retires. Checking one more time but this time with a higher threshold" , ) ;
903903
904904 // 3. If we reached the maximum number of retires we should check one more time,
905905 // but this time with a higher threshold. If the higher threshold doesn't help
@@ -913,7 +913,7 @@ where
913913
914914 // If we are here it means that we have exhausted all the retires and everything.
915915 // There is nothing that we can do now. :(
916- error ! ( message = "Exhausted all options. Failed to submit proof. Exiting loop" ) ;
916+ warn ! ( message = "Exhausted all options. Failed to submit proof. Exiting loop" ) ;
917917 bail ! ( "Failed to match send proof condition" ) ;
918918 } ;
919919
0 commit comments