Incorrect use of function selector for reverts
In function mulWad
and mulWadUp
reverts are shown with function selector 0xbac65e5b
which is not the correct value if we check it for MathMasters__MulWadFailed()
.
We can verify it easily by running following command in foundry.
cast sig 'MathMasters__MulWadFailed()'
we will get following output.
0xa56044f7
0xa56044f7 is the correct value, which needs to be used.
Wrong / unknown function selector could lead to confusions.
Manual Review / Foundry
Replace 0xbac65e5b
with 0xa56044f7
in codebase.
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.