The hardcoded values in the if
- statements for the block.timestamp checks are respectively 1728691069 = Fri Oct 11 2024 23:57:49 GMT+0000 and 1728777669 = Sun Oct 13 2024 00:01:09 GMT+0000, which is a slight deviation from the specs - killRavana
function will only work after 12th October 2024 and before 13th October 2024.
Although the discrepancy is small, the function can be called on 11 Oct and 13 Oct breaking the intended functionallity of the protocol.
Paste the following in the Dussehra.t.sol:
All the stated checks for UNIX hardcoded values could be declared as state constant variables (e.g. uint256 constant START_DATE_EVENT = 1728691200 //Sat Oct 12 2024 00:00:00 GMT+0000)
Manual review, Foundry
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.