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

Arbitrum does not yet support `PUSH0` opcodes used by Solc compiler version 0.8.20, deployment to Arbitrum will fail

Summary

Solc compiler version 0.8.20 switches the default target EVM version to Shanghai, which means that the generated bytecode will include PUSH0 opcodes. Arbitrum does not yet support PUSH0 and, hence, deployment to Arbitrum will fail.

Vulnerability Details

Impact

Deployment to Arbitrum will fail.

Tools Used

Aderyn

Recommendations

Either

  • use solc compiler version 0.8.19 (or earlier), or

  • wait for Arbitrum to add support for the EVM Shanghai upgrade and the PUSH0 opcode. The proposal to add such a support has recently passed, and the changes are expected to take effect on 2024-01-27.

Updates

Lead Judging Commences

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.