Differences between Ethereum and Linea
Linea uses the London version of the EVM. All EVM opcodes are managed identically to Ethereum London unless presented in the following table. Checkout Ethereum's history to learn about major milestones, forks, and updates to the blockchain.
⚠️ At the moment we do not support the
|Returns the RANDAO value from the previous block||Returns a fixed number||In Ethereum, |
|Pushes the constant value 0 onto the stack||Pushes the constant value 0 onto the stack if Solidity compiler compatibility is implemented||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, please recompile your contract using Solidity version 0.8.19 or lower.|
Consult the Ethereum Foundation's Opcode Reference for more.