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

PUSH0 is not supported by all chains which limits the chains on which MathMasters can be called

Description: Solc compiler version 0.8.20 switches the default target EVM version to Shanghai, which means that the generated bytecode will include PUSH0 opcodes. As the contract is meant to be used as a library, therefore it should be able to work with other chains too. However, due to some chains not supporting 'PUSH0', it will not be operable on those chains.

Impact: Contracts on chains which do not support 'PUSH0' will be unable to use our hype optimized functions to make better codebases.

Recommended Mitigation: Set a fixed version of solidity for the library.

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

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