week four scaling blockchains

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/164

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 9:32 PM on 5/28/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

165 Terms

1
New cards

What problem are L1 and L2 solutions trying to solve?

They try to make blockchains faster and more scalable.

2
New cards
If a blockchain is slow but already secure, what are two broad ways to scale it?
Upgrade the base chain itself, or build another system on top of it.
3
New cards
What is a Layer 1 solution?
A Layer 1 solution improves or changes the base blockchain itself.
4
New cards
What does “base chain” mean?
The main blockchain that directly handles consensus, execution, and data availability.
5
New cards
What are examples of Layer 1 solutions?
Alternative blockchains, sharding, and Ethereum Improvement Proposals like the Merge.
6
New cards
What is an alternative blockchain?
A separate base blockchain designed with different tradeoffs, often to be faster or cheaper.
7
New cards
Is creating a new faster blockchain an L1 or L2 solution?
It is a Layer 1 solution.
8
New cards
Is upgrading the existing blockchain infrastructure an L1 or L2 solution?
It is a Layer 1 solution.
9
New cards
What was the Ethereum Merge?
The Merge, or EIP-3675, shifted Ethereum from Proof of Work to Proof of Stake.
10
New cards
Why is the Merge considered a Layer 1 change?
Because it changed Ethereum’s base consensus mechanism.
11
New cards
What is a Layer 2 solution?
A Layer 2 solution is built on top of a base chain to handle transactions faster while still relying on the base chain for security.
12
New cards
What does an L2 rely on the L1 for?
Security and final settlement.
13
New cards
What are examples of Layer 2 solutions?
Rollups, state channels, and plasma.
14
New cards
Are rollups L1 or L2 solutions?
Rollups are Layer 2 solutions.
15
New cards
Are state channels L1 or L2 solutions?
State channels are Layer 2 solutions.
16
New cards
Are plasma systems L1 or L2 solutions?
Plasma systems are Layer 2 solutions.
17
New cards
Simple difference between L1 and L2?
L1 changes the base chain; L2 builds on top of the base chain.
18
New cards
What are the three main layers of a blockchain?
Consensus, execution, and data availability.
19
New cards
What is the consensus layer responsible for?
Agreeing on which transactions or blocks are part of the chain and in what order.
20
New cards
What is the execution layer responsible for?
Running transactions and updating the blockchain state.
21
New cards
What is the data availability layer responsible for?
Making sure the data needed to verify blocks is available.
22
New cards
Why can’t you scale only one blockchain layer and expect the whole chain to be fast?
The whole blockchain is limited by its slowest layer.
23
New cards
What does it mean that the blockchain is “bottlenecked” by the slowest layer?
Even if some parts are fast, the slowest part limits the overall speed.
24
New cards
What must happen for the whole chain to become faster?
Consensus, execution, and data availability all need to scale.
25
New cards
What is vertical scaling?
Vertical scaling means making the base chain itself handle more execution.
26
New cards
What are examples of vertical scaling?
Upgrading validators, using faster consensus, and improving state storage.
27
New cards
What does upgrading validators mean in vertical scaling?
It means requiring or enabling validators to use stronger hardware or better infrastructure.
28
New cards
What is the goal of vertical scaling?
To make each part of the base chain more powerful or efficient.
29
New cards
What is the limitation of vertical scaling?
Eventually, there are hardware, cost, and decentralization limits.
30
New cards
What is horizontal scaling?
Horizontal scaling means adding more resources or splitting work across multiple chains or parts of the system.
31
New cards
What are examples of horizontal scaling?
Sharding the blockchain or bridging to other chains.
32
New cards
What does sharding do?
It splits blockchain work across multiple sections, so the whole network can process more activity.
33
New cards
What does bridging to other chains allow?
It lets activity move across multiple blockchains instead of relying on one chain only.
34
New cards
Why is horizontal scaling considered a better long-term goal?
Because vertical scaling eventually hits limits, while horizontal scaling can keep adding capacity.
35
New cards
Simple summary: what is L1 scaling?
Making the base blockchain faster or more capable.
36
New cards
Simple summary: what is L2 scaling?
Building systems on top of the base chain to process transactions faster.
37
New cards
Simple summary: vertical vs horizontal scaling?
Vertical scaling makes one chain stronger; horizontal scaling spreads work across more chains or components.
38
New cards
Simple summary: why is scaling hard?
Because consensus, execution, and data availability all need to keep up.
39
New cards
What are rollups?
Rollups are Layer 2 scaling solutions that execute transactions off-chain and publish compressed transaction data on-chain.
40
New cards
What blockchain layer do rollups mainly improve?
The execution layer.
41
New cards
What does a rollup rely on the base chain for?
Consensus and data availability.
42
New cards
Why are rollups considered Layer 2 solutions?
They run on top of the base chain while still using the base chain for security and data availability.
43
New cards
Why is it important for rollup data to be posted on-chain?
It lets ordinary users verify rollup execution and ensures users can exit back to the main chain.
44
New cards
What does “off-chain execution” mean in rollups?
Transactions are processed outside the main chain instead of being fully executed on L1.
45
New cards
What gets posted on-chain by a rollup?
A compressed version of transaction data and state root updates.
46
New cards
Where is blockchain state commonly stored conceptually?
In a Merkle tree.
47
New cards
Do rollups maintain their own state?
Yes. Rollups maintain their own state separate from the main chain.
48
New cards
What does a rollup publish to a smart contract on the main chain?
The Merkle root of its rollup state.
49
New cards
Is the full rollup Merkle tree stored on-chain?
No. The full Merkle tree is not stored on-chain.
50
New cards
If the Merkle tree is not stored on-chain, how can users verify it?
They can recompute it from the on-chain data.
51
New cards
Why are rollup transactions compressed into batches?
Batching lets many more transactions fit into the same block space.
52
New cards
About how large is a standard ETH transaction?
Around 110 bytes.
53
New cards
About how large can a rollup transaction be?
Around 12 bytes.
54
New cards
Why does smaller transaction size help scaling?
More transactions can fit into the same block size.
55
New cards
What does the smart contract check when it receives a rollup batch?
It checks that the batch’s old state root matches the old state root it already stored.
56
New cards
What happens after the old state root is verified?
The smart contract updates to the new state root claimed in the batch.
57
New cards
Does the L1 smart contract compute the new state root from all transactions?
No.
58
New cards
Why doesn’t the L1 smart contract compute the new rollup state root?
That would defeat the purpose of a rollup, because it would force L1 to redo the expensive execution.
59
New cards
What does the rollup smart contract mainly track?
The rollup’s state roots and batch data.
60
New cards
What is a sequencer in a rollup?
A sequencer is the party that orders transactions and submits batches.
61
New cards
What blockchain problem is sequencer selection similar to?
Selecting a block proposer in proof of stake.
62
New cards
What is the ideal decentralized way to choose batch submitters?
Require submitters to stake the protocol token and slash them if they submit incorrect batches.
63
New cards
What does slashing mean?
Losing part or all of a staked amount for malicious or incorrect behavior.
64
New cards
What do most rollups currently use for sequencing?
Centralized sequencers.
65
New cards
Why are centralized sequencers a tradeoff?
They are efficient, but they create more centralization risk.
66
New cards
What are the two main ways to verify rollup batches?
Fraud proofs and zero-knowledge proofs.
67
New cards
Which rollups use fraud proofs?
Optimistic rollups.
68
New cards
Which rollups use zero-knowledge proofs?
ZK rollups.
69
New cards
What is a fraud proof?
A proof that someone else’s computation was faulty.
70
New cards
What do fraud proof provers need to include?
The contested batch, the correct state root, and information from the state tree.
71
New cards
Why does a fraud proof include state tree information?
So the computation can be recreated and checked.
72
New cards
How do optimistic rollups treat submitted batches at first?
They assume the submitted state root is correct unless challenged.
73
New cards
Who publishes batches in optimistic rollups?
Validators or sequencers publish batches to the chain.
74
New cards
What is the challenge period in optimistic rollups?
A time window where other validators can challenge a batch by submitting a fraud proof.
75
New cards
How long is the optimistic rollup challenge period usually?
Around one week.
76
New cards
What happens if someone posts a valid challenge?
The disputed computation is checked on L1, and the correct state root is determined.
77
New cards
What may happen to the party that loses a fraud-proof challenge?
They may get slashed.
78
New cards
Why can optimistic rollup withdrawals take a while?
Users may need to wait through the challenge period before the system treats the batch as final.
79
New cards
Why are they called “optimistic” rollups?
They optimistically assume batches are correct unless someone proves fraud.
80
New cards
What is the downside of rerunning an entire batch on L1?
It is expensive, so rollups use optimizations to avoid rerunning the whole batch when possible.
81
New cards
What do zero-knowledge proofs allow you to do at a high level?
They allow you to prove that something exists or is true without revealing the thing itself.
82
New cards
What is the basic idea behind a ZK proof?
You can prove knowledge or correctness without exposing the underlying data.
83
New cards
How do ZK rollups use zero-knowledge proofs?
Each batch includes a ZK proof showing that valid signed transactions produce the new claimed state root.
84
New cards
What does a ZK rollup proof prove?
It proves that there exists a set of signed transactions that correctly changes the old state root to the new state root.
85
New cards
Why are ZK proofs useful for rollups?
They can be verified on-chain with minimal computation.
86
New cards
Does Ethereum need to rerun all ZK rollup transactions to verify the batch?
No. It only needs to verify the ZK proof.
87
New cards
How does proof size grow as more computation is bundled into a ZK proof?
The proof gets longer, but its size grows very slowly compared to the amount of computation.
88
New cards
What are examples of popular ZK rollup implementations?
Scroll, Linea, ZKSync, Starkware, and Taiko.
89
New cards
What is the data problem in blockchain scalability?
Blockchains keep storing more data, making it harder for nodes to validate and fetch all the needed information.
90
New cards
Why is growing blockchain data a scalability issue?
If data grows too large, only powerful nodes may be able to store, validate, and fetch it.
91
New cards
How large was Ethereum’s chain data around October 2025 according to the notes?
Around 1.4 TB in chain data alone.
92
New cards
Why does the data problem show that every blockchain layer must scale?
More transactions do not help if nodes spend too much time searching and validating the increased state.
93
New cards
What is data availability?
Data availability is the problem of verifying that transaction data for a new block is public and visible.
94
New cards
Why is data availability important?
Nodes and users need access to transaction data to verify that blocks are valid.
95
New cards
What is Celestia?
Celestia is a blockchain focused on data availability.
96
New cards
What does Celestia mainly handle?
Celestia mainly handles data availability.
97
New cards
What is Celestia like in simple terms?
It is like a public bulletin board where rollups can post transaction data cheaply and securely.
98
New cards
Why is Celestia highly optimized for data retrieval?
Because its main purpose is storing and making data available, not executing transactions.
99
New cards
Does Celestia have an execution layer?
No. Celestia does not have an execution layer.
100
New cards
What does Celestia do with raw data?
It takes raw data without interpreting it and pushes the blob into a block.