File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -116,8 +116,15 @@ impl FlashbotsTask {
116116 . fill ( tx. into_request ( ) )
117117 . instrument ( tracing:: debug_span!( "fill_tx" ) . or_current ( ) )
118118 . await ?;
119+ debug ! ( ?sendable, "prepared signed rollup block transaction" ) ;
119120
120- sendable. try_into_envelope ( ) ?. try_into_7594 ( ) . map_err ( |e| eyre:: eyre!( format!( "{e:?}" ) ) )
121+ let tx_envelope = sendable
122+ . try_into_envelope ( ) ?
123+ . try_into_7594 ( )
124+ . map_err ( |e| eyre:: eyre!( format!( "{e:?}" ) ) ) ?;
125+ debug ! ( ?tx_envelope, "prepared signed rollup block transaction envelope" ) ;
126+
127+ Ok ( tx_envelope)
121128 }
122129
123130 /// Tracks the outbound transaction hash and increments submission metrics.
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ use alloy::{
1212 sol_types:: SolCall ,
1313} ;
1414use init4_bin_base:: deps:: metrics:: counter;
15+ use serde:: de;
1516use signet_sim:: BuiltBlock ;
1617use signet_types:: { SignRequest , SignResponse } ;
1718use signet_zenith:: Zenith ;
@@ -115,16 +116,15 @@ impl<'a> SubmitPrep<'a> {
115116 async fn new_tx_request ( & self ) -> eyre:: Result < TransactionRequest > {
116117 let nonce =
117118 self . provider . get_transaction_count ( self . provider . default_signer_address ( ) ) . await ?;
118-
119119 debug ! ( nonce, "assigned nonce to rollup block transaction" ) ;
120120
121121 let ( sidecar, data) = self . build_sidecar_and_data ( ) . await ?;
122-
123122 let tx = TransactionRequest :: default ( )
124123 . with_blob_sidecar ( sidecar)
125124 . with_input ( data)
126125 . with_to ( self . config . constants . host_zenith ( ) )
127126 . with_nonce ( nonce) ;
127+ debug ! ( ?tx, "constructed rollup block transaction request" ) ;
128128
129129 Ok ( tx)
130130 }
You can’t perform that action at this time.
0 commit comments