Currently, the game contract tracks only the total number of throne claims across all game rounds using totalClaims
.
However, there is no visibility into how many claims occurred in a specific round, which limits fine-grained analytics, round-based reward logic, or insights into game engagement over time.
Likelihood:
Occurs every time the game is reset and a new round begins, as the totalClaims
counter continues accumulating from previous rounds.
Impact:
Loss of historical analytics - unable to determine which rounds were most popular or competitive
Misleading statistics for current round performance (shows cumulative claims instead of round-specific claims)
This test proves that the contract can't track claims per individual round:
What it does:
Round 1: Alice, Bob, and Charlie each claim the throne (3 total claims)
End Round 1: Game ends and gets reset to start Round 2
Round 2: Alice and Bob claim the throne (2 claims in this round)
The Bug it proves:
After Round 2, totalClaims
shows 5 (3+2 from both rounds combined)
But there's no way to see that Round 2 only had 2 claims
The contract can't tell you "how active was Round 2 specifically?"
This introduces a roundClaimCount[gameRound]
counter, which increments alongside totalClaims
, to track the total claims per round.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.