Skip to content

Commit 4fcff88

Browse files
committed
remove wait for finalization
1 parent 7fa5b53 commit 4fcff88

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

sequencer/src/bin/espresso-bridge.rs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff 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?;

0 commit comments

Comments
 (0)