Users without approval by organizer and paid entry fee can make prediction on ThePredicter::makePrediction
An stranger user that don't pay the entry fee to register and was not approved can make a prediction and play with the others approved users that paid the entry fee
Add the following code to the test/ThePredicter.test.sol
:
Run with: forge test --match-test test_UsersWithoutApprovalCanNotMakePrediction -vvv
Add the check in the ThePredicter::makePrediction
:
makePrediction has no access controls and any unapproved user can make predictions causing an incorrect calculation and distribution of rewards.
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.