Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
log concluded disputes (#4785)
Browse files Browse the repository at this point in the history
  • Loading branch information
rphmeier authored Jan 26, 2022
1 parent 02508b4 commit f4d9523
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions node/core/dispute-coordinator/src/real/initialized.rs
Original file line number Diff line number Diff line change
Expand Up @@ -823,10 +823,22 @@ impl Initialized {
}

if !was_concluded_valid && concluded_valid {
tracing::info!(
target: LOG_TARGET,
?candidate_hash,
session,
"Dispute on candidate concluded with 'valid' result",
);
self.metrics.on_concluded_valid();
}

if !was_concluded_invalid && concluded_invalid {
tracing::info!(
target: LOG_TARGET,
?candidate_hash,
session,
"Dispute on candidate concluded with 'invalid' result",
);
self.metrics.on_concluded_invalid();
}

Expand Down

0 comments on commit f4d9523

Please sign in to comment.