Skip to content

Commit 583480a

Browse files
updates after review
1 parent 1a6a364 commit 583480a

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

docs/cdk/architecture/high-level-views.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ The following diagram depicts the CDK FEP stack component layout and details som
66

77
### Component interactions
88

9-
- External applications interact with the CDK Erigon RPC node via the transaction pool manager.
109
- Engineers use a CLI tool to manage the backend components, installing and initializing various modes of operation, such as validium versus rollup for example.
11-
- The CDK Erigon RPC sends transactions to the CDK Erigon sequencer which sequences transactions batches.
12-
- The CDK Erigon sequencer puts the transaction batches into the data streamer.
10+
- External applications send transactions to the CDK Erigon RPC node which forwards the transaction data to the sequencer via the transaction pool manager.
11+
- The transaction pool manager proxies manages the transactions coming in from the RPC node and streams the data onto the sequence sender.
12+
- The sequencer sequences transactions batches and puts them into the data streamer.
1313
- The data streamer streams data to the sequencer sender and the aggregator.
1414
- The sequencer sender sequences batches into the L1 smart contract domain and persists data into DAC nodes for validium mode operations.
1515
- The aggregator sends batches to the prover and receives proofs in return. It then aggregates the proofs into batches before submitting them to the AggLayer or L1, depending on the chosen settlement layer.
@@ -28,13 +28,15 @@ The following diagram is a sequential depiction of the user data flow for the CD
2828
2. The Erigon RPC node proxies the data to the CDK Erigon sequencer node.
2929
3. The sequencer sequences the transaction batches.
3030
4. The sequencer puts the batches into the data streamer component.
31-
5. The data streamer component streams the data into the sequence sender for validium mode stacks. It streams data into the aggregator and AggLayer for rollup and validium mode stacks.
31+
5. The data streamer component streams the data into the sequence sender. It streams data into the aggregator and AggLayer for rollup and validium mode stacks.
3232
6. In validium mode, the sequencer sender persists transaction data into the DAC nodes.
33-
7. In validium mode, the sequencer sender sequences the batches into the L1 smart contracts.
33+
7. In both modes, the sequencer sender sequences the batches into the L1 smart contracts.
3434
8. In both modes, the aggregator sends the batches to the prover and the prover returns the proofs.
3535
9. The aggregator batches the proofs.
3636
10. The aggregator submits the final proof to the AggLayer.
3737
11. The AggLayer submits the final proof to the L1 smart contract domain.
3838

39+
![Sequence diagram of user data flow](../../img/cdk/user-data-flow-sequence.png)
40+
3941
!!! tip
4042
Detailed AggLayer flows will be published soon.

docs/img/cdk/cdk-stack.png

394 KB
Loading
300 KB
Loading
215 KB
Loading

docs/img/cdk/user-data-flow.png

-2.84 KB
Loading

0 commit comments

Comments
 (0)