The contest's predefined criteria stipulates that players can receive a prize if they had paid at least one prediction fee
, but the isEligibleForReward
function forces players to make more than 1 prediction.
Players who participate in only one prediction won't be able to withdraw their prize.
Copy this code at the end of the existing test file, then run it :
forge test --mt test_playerShouldBeEligibleForRewardAfterOnePrediction
Update the isEligibleForReward
function to authorize players with at least 1
prediction :
Players with only one prediction cannot withdraw.
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.