Skip to content

Commit

Permalink
fix: correctly track last executed and seen blocks in metrics (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
montekki authored Oct 20, 2023
1 parent 4557bd4 commit 729d8cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion watcher/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ async fn process_withdrawals_in_block(
for (_tx_hash, group) in group_by.into_iter() {
for (index, event) in group.into_iter().enumerate() {
WATCHER_METRICS
.l2_last_executed_block
.l2_last_seen_block
.set(event.block_number as i64);
tracing::info!("withdrawal {event:?} index in transaction is {index}");

Expand Down

0 comments on commit 729d8cb

Please sign in to comment.