Skip to content

Commit

Permalink
Add l2 range to info logs
Browse files Browse the repository at this point in the history
  • Loading branch information
yaziciahmet committed Jul 15, 2024
1 parent 5041956 commit b953f99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/sequencer/src/sequencer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ where
.send(request)
.map_err(|_| anyhow!("Bitcoin service already stopped!"))?;

info!("Sent commitment to DA queue");
info!("Sent commitment to DA queue. L2 range: #{}-{}", commitment.l2_start_block_number, commitment.l2_end_block_number);

// Add commitment to pending commitments
let mut pending_commitments = self.pending_commitments_l2_range.lock().await;
Expand Down Expand Up @@ -754,7 +754,7 @@ where
.send(request)
.map_err(|_| anyhow!("Bitcoin service already stopped!"))?;

info!("Sent commitment to DA queue");
info!("Sent commitment to DA queue. L2 range: #{}-{}", commitment.l2_start_block_number, commitment.l2_end_block_number);

let ledger_db = self.ledger_db.clone();
let db_config = self.config.db_config.clone();
Expand Down

0 comments on commit b953f99

Please sign in to comment.