Incorrect timestamp check in killRavana
function.
According to the documentation in the contest page,
killRavana - Allows users to kill Ravana and Organiser will get half of the total amount collected in the event. this function will only work after 12th October 2024 and before 13th October 2024.
Therefore, killRavana
function should be allowed to be called strictly after 12th October and before 13th October. However, in this function
https://github.com/Cyfrin/2024-06-Dussehra/blob/main/src/Dussehra.sol#L67-L79
it is observed that the timestamps are incorrect.
Allows users to call the killRavana
function even before 12th October and also after 13th October.
Manual Review
Implement the correct timestamps to ensure killRavana
function can be called only during the Mahurat.
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.