https://github.com/Cyfrin/2024-10-trick-or-treat/blob/main/src/TrickOrTreat.sol#L95
require(msg.value >= requiredCost, is require statement make sure that a user that get a treat pay the exact amount or pays more than the exact amount, which is not intended by the protocol, a user that get a treat is supposed to pay the normal price or half price
this require statement make user that get a treat to pay more than the requiredcost or pay the exact requiredcost which is not fair for a treat
manual
the protocol should make sure that users who get a treat pays the required cost or less
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.