Validation
Last updated
Was this helpful?
Last updated
Was this helpful?
Because every OR transaction is submitted on-chain, anyone who runs a full node can verify the validity of the OR chain and instantly submit a challenge against any invalid transactions that they find. Even if you don't run your own full node, you can download calldata from your favorite blockchain data provider (Etherscan, Infura, etc.) and verify the validity of the OR chain for yourself.
For every few OR transactions, a is also posted on-chain as calldata (every batch of transactions and a state root is called a transition). To validate the OR chain, one can simply download the genesis state locally and apply each OR transaction sequentially. Every time an on-chain state root is reached, you'll compute the state root of your local state, and check to make sure the two state roots are the same. If they don't match up, then you can submit a challenge.
Learn more about Optimistic Rollup:‌
​​
​
​