The codebase is intended to be used with any solidity version ^0.8.3, however, the codebase uses custom errors that were only introduced in a later version.
This project uses custom errors which is a feature that was introduced in solidity version 0.8.4. Therefore an attempt to compile MathMasters.sol with solidity version 0.8.3 will result in a compilation error.
Add the following line to foundry.toml:
And run forge compile which will result in a compilation error.
Any project that is using solidity 0.8.3 will be unable to use this codebase.
Foundry
To fix this issue 2 suggestions are given:
Update the documentation stating that the codebase can only be used in projects solidity version 0.8.4 or higher.
If supporting solidity 0.8.3 is required then remove custom errors, and change:
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.