The check for the daily prediction deadline is not accurate. This flaw could lead to predictions being accepted outside the intended time window, compromising the integrity of the betting process.
The makePrediction
function's check for the daily prediction deadline is not accurately implemented, it does not allow users to make predictions in the intended time frame (until 19:00:00 UTC on the day of the match). Below is the Deadline for Day 0 - 4 according to the function.
// Day 0 - 2024-08-15T01:00:00.000Z
// Day 1 - 2024-08-15T20:00:00.000Z
// Day 2 - 2024-08-16T15:00:00.000Z
// Day 3 - 2024-08-17T10:00:00.000Z
Players need to make predictions earlier than specified in the documentation
Players may miss out on making predictions for certain match if they follow the deadline mentioned in the documentation
Manual Review
The deadline check should be rewritten to make sure 19:00:00 UTC is deadline for every match day
In both contracts there is a similar error in the computation of the timestamps of the matches.
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.