The killRavana
function 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. But in this function, timestamp setting is wrong. The timestamp with value 1728691069 will be at Oct 11 2024 23:57:49. And the timestamp with value 1728777669 will be at Oct 13 2024 00:01:09.
One minute after deadline, the selectedRam
still can call the killRavana
function. Breaking the invariant of this function.
Manual review
Foundry
Place this test in Dussehra.t.sol
One minute after deadline, the selectedRam still can call killRavana
and withdraw
function.
In killRavana
function, adjust the begining timestamp to 1728691200, and ending timestamp to 1728777600.
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.