Skip to content

Commit

Permalink
Merge pull request #1713 from matter-labs/add_explicit_log_for_new_pr…
Browse files Browse the repository at this point in the history
…iority_ops

Add explicit debug log for new eth_ops
  • Loading branch information
dvush authored Jun 19, 2021
2 parents 1c749e2 + c053d94 commit f3aadb3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/bin/zksync_core/src/eth_watch/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@ impl<W: EthClient> EthWatch<W> {

// Extend the existing priority operations with the new ones.
let mut priority_queue = sift_outdated_ops(self.eth_state.priority_queue());
let new_priority_op_ids: Vec<_> = priority_queue.keys().cloned().collect();
vlog::debug!("New priority ops added: {:?}", new_priority_op_ids);

for (serial_id, op) in received_priority_queue {
priority_queue.insert(serial_id, op);
}
Expand Down

0 comments on commit f3aadb3

Please sign in to comment.