The absence of a minimum payment threshold allows users to become participants with negligible contributions, leading to inadequate funding for the event and creating an unfair system that undermines trust in the protocol.
The absence of a minimum payment threshold allows users to become participants with negligible contributions, leading to inadequate funding for the event and creating an unfair system that undermines trust in the protocol.
Add the below code in ChristmasDinnerTest.t.sol:ChristmasDinnerTest
Add the above code in the ChristmasDinnerTest.t.sol:ChristmasDinnerTest.
shell forge test --match-test test_POC_No_Threshold_Payment -vv
You will get output as folowing
Participation status of EXPLOITER : true
Participation status of deployer : true
Foundry
The issue can be resolved by implementing a minimum ETH payment threshold that users must meet to qualify as participants, ensuring fair contributions and adequate funding for 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.