Can you explain the process of rollbacks and reverts in Polygon zkEVM? Are they the same?

Created by Deepanshu Rathor, Modified on Mon, 19 Feb at 4:14 PM by Deepanshu Rathor


Polygon zkEVM is an extension of the good old EVM, it allows for private computations to be performed on the blockchain using zk proofs.

The process of rollbacks and reverts is similar to regular EVMs. So when there is an error or a condition that triggers a revert, it uses the REVERT instruction to stop the execution and then returns an error message. 


Rollbacks can also happen sometimes because of an invalid zk proof (this triggers something new to Polygon zkEVM) which would cause the transaction to be aborted and all the state changes to be undone.

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 at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article