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

PUSH0 is not supported by all chains

[L-#] PUSH0 is not supported by all chains

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.

Impact: Deploying a contract with PUSH0 opcodes to a chain that does not support these opcodes will result in deployment failure.

Tools used Aderyn, Slither

Recommended Mitigation: To successfully deploy the contract, the contract code must be revised to avoid the use of PUSH0 opcodes, or the chain must be upgraded to support them.

Updates

Lead Judging Commences

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

PUSH0 not available on Arb

Support

FAQs

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