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

Incompatibility of Solidity 0.8.23 with Arbitrum: Deployment Failures Due to Unsupported PUSH0 Opcode

Summary

Deployment will fail or the execution will have unintended behavior for Solidity version 0.8.23 on Arbitrum Network.

Vulnerability Details

According to the documentation, the contract is intended to be deployed on the Arbitrum network using version 0.8.23:
However, the Arbitrum network does not support push0 opcode in the latest Solidity compiler version.

Impact

It will lead to compilation error or intended behavior while deployment.

Tools Used

Manual Review

Recommendations

Downgrade to lower version of Solidity such as 0.8.18

Updates

Lead Judging Commences

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

PUSH0 not supported for solidity solidity ^0.8.20

Support

FAQs

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