MathMasters::mulWad
and MathMasters::mulWadUp
uses incorrect error selector while reverting, leading to incorrect error display to user.
The vulnerability occurs due to the usage of incorrect error selectors in mulWad and mulWadUp function.
Both of them use 0xbac65e5b
as the error selector but it is not the error selector of mentioned error function: MathMasters__MulWadFailed()
.
Reverts with incorrect error.
Manual Review
Change the error selector with the correct one as below:
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.