The giveReview
function uses block.timestamp
for time based comparisons, which can be manipulated by miners.
The function uses block.timestamp
to enforce a time restriction between reviews:
Miners can manipulate block.timestamp
to a certain degree, which allows them to slightly subvert time based restrictions. However, since the restriction is a week long, this manipulation would have minimal impact
I would consider using block numbers instead of timestamps. Also I would add a small buffer to account for potential timestamp manipulation
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.