The function changeParticipationStatus allows participants to update their status without verifying whether they have paid the required deposit. This creates a loophole where uncommitted users can register as participants.
Event organizers may not collect sufficient funds if participants can register without making payments, potentially jeopardizing the event's financial security
foundry , vs code , foundry
add below test file
also add getParticipationStatus function in contract to get status of pariticpants so that we can call this from test contract
add proper check change participation function like user must already provide some fund before changing the status in pariticpation function
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.