In normal behavior, any player should be able to claim the throne by sending the required claimFee
in ETH. This action updates the currentKing
, adds funds to the prize pot, increases the claimFee
, and resets the gracePeriod
timer
The issue is that the contract contains a faulty condition in the claimThrone()
function that only allows the current king to claim the throne again. Since the currentKing
starts as address(0)
, no one can claim the throne, and the game becomes permanently locked and unusabl
Likelihood:
The issue occurs immediately after deployment. No user is able to call claimThrone()
successfully unless they are address(0)
, which is not a normal externally owned account (EOA).
As a result, the game is locked in an unusable state forever unless the contract is manually reset or modified.
Impact:
No player can ever claim the throne.
The clainFee
, pot
, and reward logic are never triggered.
The game is permanently disabled, and any ETH sent may become stuck.
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.