Which opcodes are missing in the current zkEVM version?

Created by Deepanshu Rathor, Modified on Mon, 19 Feb 2024 at 04:13 PM by Deepanshu Rathor

ZkEVM supports ALL opcodes. However, it is important to note that some opcodes have been adjusted.


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

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article