Tests were not included in the initial audit. Test coverage is essential for identifying overlooked issues and ensuring the contract functions as intended.
Tests are a critical part of the auditing process, as they help catch potential issues that might otherwise go unnoticed. I’ve created a set of tests to verify contract functionality, available here: Test Suite.
Steps to Run Tests:
Create a file named TrickOrTreat.t.sol
in the tests
directory.
Copy the code from the provided link into this file.
Run the tests with the following command:
Low
Foundry
Include a comprehensive test suite in future audits to verify contract behavior and minimize overlooked vulnerabilities.
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.