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

Solidity version 0.8.22 might not work on Arbitrum

Summary

There is important update after solidity version 0.8.20, the push0 opcode is introduced which might not work in other EVM compatible chains.

Vulnerability Details

EIP-3855 introduces a breaking change in solidity version 0.8.20. And the push0 opcode is utilized which might not be updated on layer 2 chains such as Arbitrum or others.

Impact

It will lead to unintended behavior and the failure of deployment.

Tools Used

Manual Review

Recommendations

Use solidity 0.8.19 or earlier version instead.

Updates

Lead Judging Commences

inallhonesty Lead Judge almost 2 years ago
Submission Judgement Published
Validated
Assigned finding tags:

Incompatible Pragma Version on Arbi

Information on compatibility here: https://docs.arbitrum.io/for-devs/concepts/differences-between-arbitrum-ethereum/solidity-support Impact - failed deployment - Protocol would need to adjust their pragma versions to be compatible and redeploy

Support

FAQs

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