Once the Ravan is killed, Mahurat is ended and ram calls withdraw
then the contract should be left with no balance but new players can still call Dussehra::enterPeopleWhoLikeRam
and their entryFee
will be permanently stuck in the contract
There are no checks which prevent users from calling Dussehra::enterPeopleWhoLikeRam
after Ravan is killed and Mahurat is ended
If Dussehra::enterPeopleWhoLikeRam
is callable after Ravan is killed and Mahurat is ended then the entryFee
paid by the player will be permanently stuck in the contract
Manual Review
Foundry
Adding checks to prevent users from calling Dussehra::enterPeopleWhoLikeRam
after Ravan is killed and mahurat is ended mitigates this issue
make the following changes in Dussehra.sol
Declare a new error error Dussehra__RavanIsKilled();
In Dussehra::enterPeopleWhoLikeRam
add the following check
It is the user's responsibility to check the date of the event.
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.