BlockShots: Blockchain Simplified
Episode 46 - Rollups

Episode 46 - Rollups

BlockShots: Blockchain Simplified

4:31

About this episode

Rollups are layer 2 blockchain scalability solutions where the execution of transactions is moved off the main blockchain. Basically, the layer 1 chain is used for keeping the ledger state and providing consensus, while the off-chain layer 2 framework — rollup-is used to execute the transactions and submit the updated state to layer 1.

This approach decouples the work to store the ledger state and execute transactions between the layer 1 and layer 2 respectively. The way it helps achieve scalability is by executing many more transactions within the same block period. 

The users send transactions to the rollup. The rollup gets the previous state of the ledger from the layer 1, executes multiple transactions based on this state, and then submits the updated state to the layer 1. The rollup also “rolls up” or bundles all the transaction data and stores it on layer 1 so that any other verifier or rollup node could check the correctness of execution.

There are two kinds of rollups — optimistic rollups and Zero Knowledge (ZK) rollups. In optimistic rollups the transaction execution is verified by other verifiers and they could submit a fraud proof if they find anything wrong with it. While in ZK rollups a cryptographic proof of correct execution of transactions is also submitted along with the updated state and transaction data. Optimistic rollups are hence less secure than ZK rollups, while ZK rollups are slower because of additional proof generation.

Music: https://www.purple-planet.com



This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit podcast.blockshots.net

More from BlockShots: Blockchain Simplified

Traditionally blockchains execute transactions sequentially. Some of the newer chains have been trying parallel execution of transactions to improve blockchain performance. In this episode we understa…

3m

In this episode we understand what are real world assets and why they are being tokenised. What are real world assets?Any thing of value that has been generated or created in the real world before bei…

4m

After a brief break, we are back with new episodes. Ethereum recently upgraded to a new update called Dencun. In this episode we understand what this update is and how it is important. 9 different upd…

4m

Restaking is staking of already staked tokens. But how is the possible? If tokens are staked for one purpose — providing econoimic security for consensus of a network — they could be further staked to…

3m

Modular blockchains has been one of the buzz words in the last year. In this episode, let’s understand modularity in blockchains. In the beginning, consensus and execution were part of the same blockc…

4m