File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -142,14 +142,20 @@ impl FlashbotsTask {
142142 . await ;
143143
144144 match response {
145- Ok ( Some ( _) ) => { }
145+ Ok ( Some ( hash) ) => {
146+ tracing:: info!( host_block_number = sim_result. host_block_number( ) , bundle_hash = ?hash, "bundle submitted to flashbots" ) ;
147+ span_debug ! ( span, "bundle submitted to flashbots" ) ;
148+ }
146149 Ok ( None ) => {
147- tracing:: info!( "block submitted to flashbots" ) ;
148- span_debug ! ( span, "block submitted to flashbots" ) ;
150+ tracing:: info!(
151+ host_block_number = sim_result. host_block_number( ) ,
152+ "bundle submitted to flashbots without error"
153+ ) ;
154+ span_debug ! ( span, "bundle submitted to flashbots" ) ;
149155 }
150156 Err ( e) => {
151157 tracing:: error!( error = %e, "failed to submit MEV bundle to flashbots" ) ;
152- span_debug ! ( span, "bundle submission failed - error returned" ) ;
158+ span_debug ! ( span, "MEV bundle submission failed - error returned" ) ;
153159 }
154160 }
155161 }
Original file line number Diff line number Diff line change @@ -129,7 +129,6 @@ impl<'a> SubmitPrep<'a> {
129129
130130 /// Prepares a transaction for submission to the host chain.
131131 pub async fn prep_transaction ( self , prev_host : & Header ) -> eyre:: Result < Bumpable > {
132- debug ! ( prev_host = ?prev_host, "preparing transaction for submission to host chain" ) ;
133132 let req = self . new_tx_request ( ) . in_current_span ( ) . await ?;
134133 Ok ( Bumpable :: new ( req, prev_host) )
135134 }
@@ -145,7 +144,6 @@ pub struct Bumpable {
145144impl Bumpable {
146145 /// Instantiate a new `Bumpable` transaction request.
147146 pub fn new ( mut req : TransactionRequest , prev_host : & Header ) -> Self {
148- debug ! ( prev_host = ?prev_host, "populating initial gas values into bumpable tx" ) ;
149147 utils:: populate_initial_gas ( & mut req, prev_host) ;
150148 Self { req, bumps : 0 }
151149 }
You can’t perform that action at this time.
0 commit comments