Create optimistic_rollups.md

This commit is contained in:
dr. mia von steinkirch, phd 2023-02-07 10:57:31 -08:00 committed by GitHub
parent 3f1eec8041
commit 2d44d97f82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,16 @@
## optimistic rollups
<br>
### tl; dr
<br>
* in optimistic rollups, txs are batched up and the state root (same as zkrs) alongside the calldata (the tx state) is sent to the l2 contract on ethereum
* dispute period can cause actual finality of txs to not happen until around a week later
<br>
<img width="822" alt="Screen Shot 2023-02-07 at 10 57 12 AM" src="https://user-images.githubusercontent.com/1130416/217339712-014ca13c-b542-4a92-a2c9-857839f3be30.png">