The function Dussehra::killRavana
has an invariant documented that it can only be called between 12th October and 13th October but the block.timestamp
checks in the function do not correspond to documented time allowing users to call this function before 12th October and after 13th October
Dussehra::killRavana
function can be called before 12th October and after 13th October
The timestamps corresponding to the times are:
12th October 2024 00:00:00 - 1728691200
13th October 2024 00:00:00 - 1728777600
but the times in the function are:
11th October 2024 23:57:49 - 1728691069
13th October 2024 00:01:09 - 1728777669
If Ram is selected any user can call Dussehra::killRavana
before the Mahurat even starts which would ruin the festivity for other participants who'd want the event to happen during the Mahurat Time.
Manual Review
Foundry
Changing the Timestamps to their corresponding ones will mitigate the issue
In the Dussehra::killRavana
function make the following changes
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.