HardhatFoundry
30,000 USDC
View results
Submission Details
Severity: low
Invalid

Linea network incompatible with PUSH0

Description

Bioconomy specifies a list of supported networks, one of which is Linea.

As per the Linea docs:

The PUSH0 opcode compatibility was introduced in Solidity compiler version 0.8.20, which came after the London release. However, Linea currently supports Solidity compiler version 0.8.19 and lower, which aligns with the London release of the Ethereum mainnet. To resolve this issue, recompile your contract using Solidity version 0.8.19 or lower.

This means that PUSH0 currently is not supported on Linea network and requires solidity version 0.8.19 whenever deployed.

As of now the version of the protocol contracts are set to 0.8.26. This means that currently, as it is, deploying contracts on Linea will fail.

Note that the team has not specified in the README which EVM target will be used.

Recommendation

Whenever deploying on Linea make sure the contracts are on version 0.8.19.

Updates

Lead Judging Commences

0xnevi Lead Judge 11 months ago
Submission Judgement Published
Invalidated
Reason: Known issue
Assigned finding tags:

finding-PUSH0

Invalid [known issue [Low-5] and [Low-9]](https://github.com/Cyfrin/2024-07-biconomy/issues/1)

Support

FAQs

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