Community Poll Review - August 2023
How do you think you did on this quiz? Let's review the questions together below:
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
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
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.
Rollups are preferred as compared to plasma and sidechains due to:
- 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.
- Rollups execute transactions outside of Ethereum but post the transaction data back to Ethereum for consensus.
- 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:
