The mulWadUp
function in the MathMasters library incorrectly references the MathMasters__MulWadFailed
error with the selector 0xbac65e5b
instead of the correct selector 0xa56044f7
. This misalignment may lead to confusion and unexpected behavior.
In the assembly code of the mulWadUp
function, the error is specified with the incorrect selector, potentially causing issues in error handling and reporting.
This discrepancy in the error selector may result in misidentifying errors related to the mulWadUp
function, affecting the accuracy of error handling. Developers relying on the correct error selector may face challenges in debugging and understanding the root cause of potential failures.
Run this cmd forge inspect MathMasters errors
and you will see the selector for MathMasters__MulWadFailed
is a56044f7
not 0xbac65e5b
Update the selector for the MathMasters__MulWadFailed
error in the mulWadUp
function to the correct value (0xa56044f7
). Ensure consistency between error definitions and their associated selectors for accurate error identification and reporting.
Update code should be:
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.