Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Valid

Wrong error selector hash

Summary

Wrong error selector hash

Vulnerability Details

mulWad() and mulWadUp() should revert with MathMasters__MulWadFailed() custom error, it is storing 0xbac65e5b to the memory and revert it

However 0xbac65e5b is not the selector hash for MathMasters__MulWadFailed() :

# cast sig "MathMasters__MulWadFailed()"
0xa56044f7

Impact

Revert with wrong custom error

Tools Used

Manual review

Recommendations

Change it to the correct error selector hash

Updates

Lead Judging Commences

inallhonesty Lead Judge
over 1 year ago
patrickalphac Lead Judge over 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

Wrong error selector

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.