Skip to content

Commit 1166ece

Browse files
authored
Merge branch 'main' into varun/consolidate-fast
2 parents 7e3bfae + 765264e commit 1166ece

File tree

2 files changed

+8
-13
lines changed

2 files changed

+8
-13
lines changed

.github/workflows/book.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
name: Deploy mdBook
22
on:
3-
# REMOVE
4-
pull_request:
53
push:
64
branches: [main]
75

book/src/chapter_1.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,13 @@ security guarantees.
1111

1212
## What is the Rollup Node?
1313

14-
The rollup node is responsible for constructing the Scroll L2 chain from data posted to Ethereum L1. At its core, the
15-
rollup node implements a derivation function: given the L1 chain state, it deterministically produces the corresponding
16-
L2 chain.
14+
The rollup node is responsible for following the Scroll L2 chain using P2P data from the Scroll network, and
15+
consolidating this information with data posted to Ethereum L1.
16+
At its core, the rollup node implements a derivation function: given the L1 chain state, it deterministically produces
17+
the corresponding L2 chain. This allows it to follow the correct L2 chain in case malicious blocks are propagated on
18+
the P2P network.
1719

18-
### Core Function
19-
20-
While conceptually the rollup node computes L2 as a pure function of L1 data, in practice it operates
21-
incrementally—processing new L1 blocks as they arrive and handling reorganizations when the L1 chain restructures. This
22-
incremental approach allows the node to efficiently maintain synchronization without reprocessing the entire chain
23-
history.
20+
### Derivation Function
2421

2522
The derivation process works by:
2623

@@ -38,13 +35,13 @@ communicate through async channels:
3835
- **Derivation Pipeline**: Transforms batch data from L1 into executable L2 payloads
3936
- **Engine Driver**: Interfaces with the execution engine via the Engine API
4037
- **Chain Orchestrator**: Coordinates the overall flow from L1 events to L2 blocks
41-
- **Network Layer**: Propagates blocks across the P2P network for faster synchronization
38+
- **Network Layer**: Participates in the Scroll and Ethereum P2P network
4239

4340
### Node Modes
4441

4542
The rollup node can operate in different configurations:
4643

47-
- **Follower Node**: Derives L2 blocks by processing batch data posted to L1, participating in P2P block propagation
44+
- **Follower Node**: Follows the L2 chain via P2P propagated blocks, consolidated by processing batch data posted to L1
4845
- **Sequencer Node**: Actively sequences new transactions into blocks and posts batches to L1
4946

5047
## About This Documentation

0 commit comments

Comments
 (0)