Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit 93e8bf5

Browse files
committed
removed fraud proof diagram
1 parent 8f388bb commit 93e8bf5

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

learn/transaction-flow.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ Rollup users use a light node to communicate with the rollup P2P network for two
55
- submitting transactions
66
- gossipping headers and fraud proofs
77

8-
::: warning
9-
Light nodes are still a work in progress.
10-
:::
11-
128
Here's what the typical transaction flow looks like:
139

1410
## Transaction submission
@@ -48,27 +44,10 @@ sequenceDiagram
4844
4945
DALayer->>RollupChain: Update State
5046
DALayer->>FullNode: Download & Validate Block
51-
FullNode->>FullNode: Generate Fraud Proofs (if invalid)
52-
```
53-
54-
## Fraud proof gossip and forking
55-
56-
```mermaid
57-
sequenceDiagram
58-
participant FullNode
59-
participant LightNode
60-
participant RollupChain
61-
62-
FullNode->>LightNode: Gossip Fraud Proofs (if invalid)
63-
RollupChain->>RollupChain: Halt & Decide to Fork (if invalid)
64-
RollupChain->>DALayer: Submit New Block (after fork)
6547
```
6648

6749
To transact, users submit a transaction to their light node, which gossips the transaction to a full node. Before adding the transaction to their mempool, the full node checks its validity. Valid transactions are included in the mempool, while invalid ones are refused, and the user's transaction will not be processed.
6850

6951
If the transaction is valid and has been included in the mempool, the sequencer can add it to a rollup block, which is then submitted to the data availability (DA) layer. This results in a successful transaction flow for the user, and the state of the rollup is updated accordingly.
7052

7153
After the block is submitted to the DA layer, the full nodes download and validate the block.
72-
However, there is a possibility that the sequencer may maliciously submit a block to the DA layer with invalid transactions or state. In such cases, the full nodes of the rollup chain will consider the block invalid. In the case of an optimistic rollup, if they find the block invalid, they generate fraud proofs and gossip them in the P2P network among other full and light nodes.
73-
74-
As a result, the rollup chain will halt, and the network will decide to fork the chain through social consensus. In the future, when a decentralized sequencer scheme is in place, additional options will be available, such as slashing the sequencer or selecting another full node as the sequencer. However, in any case, a new block must be created and submitted to the DA layer. You can read more about sequencer nodes [here](/learn/stack#sequencer-node).

0 commit comments

Comments
 (0)