Several critical state changes lack event emissions, making it difficult to track contract activity off-chain.
Location:
src/TrickOrTreat.sol:setTreatCost()
src/TrickOrTreat.sol:addTreat()
src/TrickOrTreat.sol:mintTreat()
This makes it difficult for users and interfaces to track important contract changes and could lead to poor UX and missed state updates.
Forge
Add events for all critical state changes:
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.