Skip to content

Commit

Permalink
feat: Adds more debug logging to finalizer (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
montekki committed Aug 2, 2023
1 parent 4ffe281 commit 59cb856
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions finalizer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ where
.collect();

let tx = self.finalizer_contract.finalize_withdrawals(w);
vlog::debug!("sending finalizing transaction");
let pending_tx = tx.send().await;

// Turn actual withdrawals into info to update db with.
Expand All @@ -171,8 +172,12 @@ where
}
};

vlog::debug!("waiting for finalizing transaction");

let mined = pending_tx.await;

vlog::debug!("mined finalizing transaction {mined:?}");

match mined {
Ok(Some(tx)) => {
vlog::info!(
Expand Down

0 comments on commit 59cb856

Please sign in to comment.