The Snowman::SM__NotAllowed
is declared but it is never used in any revert
statement or logic branch. This leads to dead code and missed opportunities for explicit error handling, reducing code clarity and potentially failure conditions.
Low - While not exploitable by itself, this issue commonly arises during development and may be overlooked during audits.
Low - The unused error may indicate that an important validation or revert condition was forgotten, which could lead to logical errors or unexpected behavior if the contract does not properly handle failure states.
Remove unused error declarations to reduce dead code, or use them appropriately in require
or revert
statements to enforce smart contract invariants.
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.