EVM Differences from Ethereum
Opcodes
| Opcode | Scroll Behavior |
|---|---|
COINBASE | Returns the fee vault address (predeployed contract 0x5300000000000000000000000000000000000005). |
DIFFICULTY / PREVRANDAO | Always return 0. |
SELFDESTRUCT | Disabled. If the opcode is encountered, the transaction will be reverted. |
Precompiled Contracts
Most precompiled contracts are supported. For a complete and up-to-date list of supported precompiles and any differences from Ethereum, see rollup.codes/scroll.
EIPs
Our sequencer was developed based on the London fork initially. Since then we have adopted most features from London, Shanghai, and Cancun.
Our EIP-1559 fee market behaves differently: the sequencer sets the L2 base fee (based on the L1 base fee), and we don’t burn ETH.