File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -195,17 +195,17 @@ async fn deposit(opt: Deposit) -> anyhow::Result<()> {
195195 . context ( "sending deposit transaction" ) ?;
196196 tracing:: info!( hash = %tx. tx_hash( ) , "deposit transaction sent to L1" ) ;
197197
198- // Wait for the transaction to finalize on L1.
199- let receipt = tx
200- . with_required_confirmations ( opt. confirmations as u64 )
201- . get_receipt ( )
202- . await
203- . context ( "waiting for deposit transaction" ) ?;
204- let l1_block = receipt
205- . block_number
206- . context ( "deposit transaction not mined" ) ?;
207- ensure ! ( receipt. inner. is_success( ) , "deposit transaction reverted" ) ;
208- tracing:: info!( l1_block, "deposit mined on L1" ) ;
198+ // // Wait for the transaction to finalize on L1.
199+ // let receipt = tx
200+ // .with_required_confirmations(opt.confirmations as u64)
201+ // .get_receipt()
202+ // .await
203+ // .context("waiting for deposit transaction")?;
204+ // let l1_block = receipt
205+ // .block_number
206+ // .context("deposit transaction not mined")?;
207+ // ensure!(receipt.inner.is_success(), "deposit transaction reverted");
208+ // tracing::info!(l1_block, "deposit mined on L1");
209209
210210 // // Wait for Espresso to catch up to the L1.
211211 // let espresso_height = espresso.get_height().await?;
You can’t perform that action at this time.
0 commit comments