Skip to content

Commit c3f3864

Browse files
authored
Merge pull request 0xPolygon#2494 from mitchpolygon/main
Updates addressing Arnau's comments in the older PR
2 parents 152204c + 4425289 commit c3f3864

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
The figure below depicts a simplified, high level view of the CDK PP chain architecture, as well as the flow of transactions through the system.
1+
The figure below depicts a simplified, high-level view of the CDK chain architecture using pessimistic proofs and the flow of transactions through the system.
22

3-
![Figure: CDK PP Architecture](../../img/cdk/CDK-pessimistic-proof-chain.jpg)
3+
![Figure: CDK Architecture](../../img/cdk/CDK-pessimistic-proof-chain.jpg)
44

5-
## Transaction flow
5+
## Transaction Flow
66

7-
Here is a step by step flow of transactions starting from when users submit transactions up to when the transactions are settled in L1.
7+
Here is a step-by-step flow of transactions starting from when users submit transactions up to when the transactions are settled in L1:
88

99
1. A user connects to the chain via a CDK Erigon RPC node and submits a transaction.
1010
2. CDK Erigon RPC node sends the transaction data to the transaction-pool manager.
1111
3. The transaction-pool manager proxies all transaction data to the CDK Erigon sequencer.
12-
4. CDK Erigon sequencer executes transactions, puts the transactions in blocks, and the blocks fill up batches.
13-
5. CDK Erigon sequencer syncs all transaction data with any CDK Erigon RPC node.
14-
6. AggSender gets batch data from the CDK Erigon sequencer, uses the data to generate certificates, and submits the certificates to the JSON-RPC API.
15-
7. The JSON-RPC API checks validity of the certificates against the transaction data in the CDK Erigon RPC node.
16-
8. After validating the certificates, the JSON-RPC API sends a request to generate a proof, together with the necessary data (including the certificates), to the SP1 prover.
17-
9. Once the proof is received from the SP1 prover, the JSON-RPC API sends it to L1.
12+
4. CDK Erigon sequencer executes transactions, puts the transactions in blocks, and the blocks fill up batches.
13+
5. Any CDK Erigon RPC node syncs transaction data from the CDK Erigon sequencer.
14+
6. AggSender gets batch data from the CDK Erigon sequencer, uses the data to generate certificates, and submits the certificates to the AggLayer RPC.
15+
7. The AggLayer RPC checks the validity of the certificates against the transaction data in the CDK Erigon RPC node.
16+
8. After validating the certificates, the AggLayer RPC sends a request to generate a proof, together with the necessary data (including the certificates), to the SP1 prover.
17+
9. Once the proof is received from the SP1 prover, the AggLayer RPC sends it to L1.

0 commit comments

Comments
 (0)