Description: The MultiSig
contract declares the error NotEnoughApprovals()
but never uses it in the code. Unused declarations increase contract size unnecessarily.
Impact:
Unnecessary bytecode size
Slightly higher deployment costs
Code confusion for developers
Reduced code maintainability
Recommended Mitigation: Either:
Remove the unused error:
Or use it where appropriate instead of require statements if needed.
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
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.