ZkEVM supports ALL opcodes. However, it is important to note that some opcodes have been adjusted.
SELFDESTRUCT: removed by SENDALL.
EXTCODEHASH: returns hash contract bytecode from zkEVM state tree (do not check if the account is empty).
DIFFICULTY: returns 0.
BLOCKCHAIN: returns all previous block hashes (not just the last 256 blocks).
BLOCKCHAIN is the state root at the end of a processable transaction and it is stored on the system's smart contract.
NUMBER: number of processable transactions.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article