Commit eba81875 authored by refcell's avatar refcell Committed by GitHub

fix(op-dispute-mon): Claim ID and Clock Logging (#10415)

* fix(op-dispute-mon): log the claim id to validate the claim during investigation

* fix(op-dispute-mon): log the clock value as well
parent 15e8387e
...@@ -94,7 +94,7 @@ func (c *ClaimMonitor) checkGameClaims( ...@@ -94,7 +94,7 @@ func (c *ClaimMonitor) checkGameClaims(
// Check if the clock has expired // Check if the clock has expired
if firstHalf && claim.Resolved { if firstHalf && claim.Resolved {
c.logger.Error("Claim resolved in the first half of the game duration", "game", game.Proxy, "claimContractIndex", claim.ContractIndex) c.logger.Error("Claim resolved in the first half of the game duration", "game", game.Proxy, "claimContractIndex", claim.ContractIndex, "id", claim.ID(), "clock", duration)
} }
maxChessTime := time.Duration(game.MaxClockDuration) * time.Second maxChessTime := time.Duration(game.MaxClockDuration) * time.Second
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment