Flow

Sablier
FoundryDeFi
20,000 USDC
View results
Submission Details
Severity: medium
Invalid

Deployment may fail in Linea

Summary

PUSH0opcode is not supported in Linea which could cause failure when the contracts try to deploy on Linea.

Vulnerability Details

The codebases uses at minimum solidity version 0.8.22 which includes the PUSH0 opcode in the compiled bytecode. Currently, Linea does not support PUSH0opcode. This is not a problem if the evm_versionin foundry.tomlis set to paris, but it is set to shanghai.

Impact

Contracts cannot be deployed on Linea.

Tools Used

Manual review

Recommendations

Lower the solidity version to that does not include the PUSH0 opcode such as version 0.8.19and set evm_versionto paris.

Updates

Lead Judging Commences

inallhonesty Lead Judge 7 months ago
Submission Judgement Published
Invalidated
Reason: Known issue
inallhonesty Lead Judge 7 months ago
Submission Judgement Published
Invalidated
Reason: Known issue

Support

FAQs

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