Players are not ilegible for reward according to Scorboard::isEligibleForReward()
unless they make at least TWO predictions instead of ONE.
According to Scorboard::isEligibleForReward()
, players are not ilegible for a reward if they make a single prediction only, which makes them unable to withdraw their rewards even if thy are correct ones.
Add the following to ThePrediter.test.sol
test file:
The test above proves that the player doesn't get any rewards for their correct prediction.
Players Cannot Withdraw Rewards: Players are unable to withdraw their rightfully earned rewards. This represents a critical failure in the contract's primary function of distributing rewards to successful predictors.
Forced Additional Participation: Players are obliged to make a second prediction to access their rewards. This requirement:
Forces unwanted participation, potentially against the player's wishes or strategy.
Increases the financial burden on players, as they may need to pay additional fees for predictions.
Could lead to players making rushed or ill-considered predictions just to access their existing rewards.
Manual review.
Foundry (for running test cases)
Fix the ilgiblity condition in Scorboard::isEligibleForReward()
as follows:
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.