Description:
The function Game:claimThrone
has the following requirement:
At the beginning of the function.
If the msg.sender is the currentKing then he/she can claim the throne, and the first King is address(0)
.
Impact:
Nobody can claim the throne and the game cannot be play.
Proof of Concept:
add the following test in Game.t.sol
Recommended Mitigation:
Change the requirement as follow :
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.