EVM opcode support
Who this is for: developers writing or auditing contracts that touch opcode-level behavior. For the task-level explanation of why these differ, see /build/smart-contracts/evm-differences, which transcludes this page.
Modified opcodes
SELFDESTRUCT
"removed by SENDALL"
EXTCODEHASH
"returns hash contract bytecode from zkEVM state tree"
DIFFICULTY
"returns 0"
BLOCKHASH
"returns all previous block hashes (not just the last 256 blocks)"
NUMBER
"number of processable transactions"
Unsupported opcodes
Quoted: "Lumia zkEVM supports all opcodes but SHA256, BLAKE and PAIRINGS."
SHA256
Unsupported
BLAKE
Unsupported
PAIRINGS
Unsupported
Precompile support
Quoted: "ecRecover and identity are presently supported. Others return a revert."
ecRecover
Supported
identity
Supported
All others
Revert
Source / last verified
Quoted from docs.lumia.org/build/faqs.
Last updated
Was this helpful?