File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -142,14 +142,17 @@ impl FlashbotsTask {
142
142
. await ;
143
143
144
144
match response {
145
- Ok ( Some ( _) ) => { }
145
+ Ok ( Some ( hash) ) => {
146
+ tracing:: info!( ?hash, "bundle submitted to flashbots" ) ;
147
+ span_debug ! ( span, "bundle included in a block" ) ;
148
+ }
146
149
Ok ( None ) => {
147
- tracing:: info!( "block submitted to flashbots" ) ;
148
- span_debug ! ( span, "block submitted to flashbots" ) ;
150
+ tracing:: info!( "bundle submitted to flashbots" ) ;
151
+ span_debug ! ( span, "bundle submitted to flashbots" ) ;
149
152
}
150
153
Err ( e) => {
151
154
tracing:: error!( error = %e, "failed to submit MEV bundle to flashbots" ) ;
152
- span_debug ! ( span, "bundle submission failed - error returned" ) ;
155
+ span_debug ! ( span, "MEV bundle submission failed - error returned" ) ;
153
156
}
154
157
}
155
158
}
Original file line number Diff line number Diff line change @@ -129,7 +129,6 @@ impl<'a> SubmitPrep<'a> {
129
129
130
130
/// Prepares a transaction for submission to the host chain.
131
131
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" ) ;
133
132
let req = self . new_tx_request ( ) . in_current_span ( ) . await ?;
134
133
Ok ( Bumpable :: new ( req, prev_host) )
135
134
}
@@ -145,7 +144,6 @@ pub struct Bumpable {
145
144
impl Bumpable {
146
145
/// Instantiate a new `Bumpable` transaction request.
147
146
pub fn new ( mut req : TransactionRequest , prev_host : & Header ) -> Self {
148
- debug ! ( prev_host = ?prev_host, "populating initial gas values into bumpable tx" ) ;
149
147
utils:: populate_initial_gas ( & mut req, prev_host) ;
150
148
Self { req, bumps : 0 }
151
149
}
You can’t perform that action at this time.
0 commit comments