Expected behaviour: When a new player claims the throne, a portion of their claimFee
should be transferred to the previous king as a reward for holding the throne (per README lines 37-40).
Actual issue: previousKingPayout
is hard-coded to 0
and never updated or transferred. Consequently the previous king’s balance remains unchanged when they are dethroned.
Likelihood:
Happens on every throne claim beyond the first round once the critical logic-reversal bug is fixed.
Players actively monitor rewards; once discovered they will perceive the game as unfair.
Impact:
Economic incentives break down; previous kings earn nothing, discouraging participation.
Reputation loss / potential fraud accusations because README promises a payout that is never delivered.
The Foundry test below simulates two players. After player 2 claims, player 1’s balance is exactly the same as before the claim, proving no payout occurred.
Either:
Implement payout logic – decide on a percentage (e.g. 50 %) and credit the previous king before updating currentKing
.
Update documentation – if no payout is intended, remove the claim from the README and delete the dead previousKingPayout
variable to avoid confusion.
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.