Community Poll Review - August 2023

How do you think you did on this quiz? Let's review the questions together below:

1️⃣
How do Rollups work?

Rollups perform transaction execution outside layer 1 and then the data is posted to layer 1 where consensus is reached. As transaction data is included in layer 1 blocks, this allows rollups to be secured by native Ethereum security.

Read more on how rollups work:
https://ethereum.org/en/developers/docs/scaling/#rollups

2️⃣
How is rollup transaction data being stored pre-EIP4844?

Rollup transaction data is batched and compressed then submitted to Ethereum as calldata.

Learn more about calldata:
https://www.quicknode.com/guides/ethereum-development/transactions/ethereum-transaction-calldata#what-is-transaction-calldata

3️⃣
What are the types of rollups that exist on Ethereum?

There are two types of rollups with different security models:

Optimistic rollups: assumes transactions are valid by default and only runs computation, via a fraud proof, in the event of a challenge.

Zero-knowledge rollups: runs computation off-chain and submits a validity proof to the chain.

4️⃣
Why are rollups preferred as compared to plasma & sidechains?

Rollups are preferred as compared to plasma and sidechains due to:

  1. It enables fully general-purpose solutions, including the possibility to run an EVM within a rollup. This facilitates the migration of existing Ethereum smart contracts to a rollup with minimal code adjustments.
  2. Rollups execute transactions outside of Ethereum but post the transaction data back to Ethereum for consensus.
  3. The data posted on Ethereum enables anyone to locally compute the complete internal state if desired, and is frequently employed for fraud detection purposes.

Further reading:

  1. https://vitalik.ca/general/2021/01/05/rollup.html
  2. https://www.quicknode.com/guides/web3-fundamentals-security/cryptography/introduction-to-ethereum-rollups
Teck Yuan Lee
Teck Yuan Lee
Last updated: