The refund()
function does not update the participant
mapping to set the caller’s participation status to false
after they have reclaimed their funds.
This test was added to the ChristmasDinnerTest.t.sol
A participant calls refund()
and reclaims their funds.
Call getParticipationStatus()
for the participant. It still returns true
.
The participant status remained true after the refund
Logs:
true
Participants who call refund() remain marked as active participants, leading to potential inconsistencies and misuse in subsequent checks or actions. For example, refunded participants could still appear eligible for certain privileges, affecting the event’s organization.
Manual review
Update the participant's status during the refund process:
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.