Skip to content

Commit 57c9e87

Browse files
committed
nav and content changes
1 parent dd648be commit 57c9e87

File tree

5 files changed

+23
-29
lines changed

5 files changed

+23
-29
lines changed

docs/cdk/concepts/rollup-vs-validium.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,26 @@ Below is a breakdown of the technical differences between a zkEVM rollup and val
5959
| **Final settlement** | Transaction batches and their corresponding proofs are added to the Ethereum state. | The hash of transaction data and its proof are added to the Ethereum state, referred to as the consolidated state. |
6060
<sub><sup>\*</sup>JSON RPC, Tx pool manager, Sequencer, Etherman, Synchronizer, State DB, Aggregator, Prover</sub>
6161

62+
63+
Polygon CDK running in validium mode inherits the core functionalities of a zkEVM rollup node and adds a [data availability layer](../glossary/index.md#data-availability-committee-dac).
64+
65+
## Key differences
66+
67+
| | Rollup | Validium |
68+
| ------------------------ | ----------------------------------------------------------- | ---------------------------------------------------------------------------------- |
69+
| **Node type** | [cdk-erigon:v1.2.24](https://github.com/0xPolygonHermez/cdk-erigon/releases/tag/v1.2.24) | [cdk-erigon:v2.1.x](https://github.com/0xPolygonHermez/cdk-erigon/releases) |
70+
| **Data availability** | On-chain via L1 | Off-chain via a local option, or a [DAC](../glossary/index.md#data-availability-committee-dac) + [DA node](https://github.com/0xPolygon/cdk-data-availability) |
71+
| **Components** | zkEVM components\* | zkEVM components\* + PostgreSQL database + on-chain committees |
72+
| **Contracts** | [zkEVM smart contracts](https://github.com/0xPolygonHermez/zkevm-contracts) <ul><li>`PolygonZkEVM` (main rollup contract)</li> <li> `PolygonZkEVMBridge`</li> <li>`PolygonZkEVMGlobalExitRoot`</li></ul> | [Validium-specific DAC contract](https://github.com/0xPolygon/cdk-validium-contracts) <ul><li>`CDKDataCommittee.sol`</li><li> `CDKValidium.sol` </li></ul> |
73+
| **Infrastructure** | Standard infrastructure | Dedicated infrastructure for data availability layer and DACs |
74+
| **Tx flow** | All transaction data is published on L1 | Validium only publishes the hash of the transaction data to L1. The sequencer sends both the hash and the transaction data to the DAC for verification. Once approved, the hash+signatures are sent to the Consensus L1 contract of the validium protocol.
75+
| **Security** | High security due to on-chain data availability and zero-knowledge proofs. |Off-chain data availability can affect security if the sequencer goes offline or if DAC members collude to withhold state data. |
76+
| **Gas fees** | High, because all transaction data is stored on Ethereum. | Low, because only the hash of the transaction data is stored on Ethereum. |
77+
| **Proof generation** | Uses Prover to generate proofs of batched transactions for validation. | Uses Prover to generate proofs of batched transactions for validation. |
78+
| **Final settlement** | Transaction batches and their corresponding proofs are added to the Ethereum state. | The hash of transaction data and its proof are added to the Ethereum state, referred to as the consolidated state. |
79+
80+
<sub><sup>*</sup>JSON RPC, Pool DB, Sequencer, Etherman, Synchronizer, State DB, Aggregator, Prover</sub>
81+
6282
## Further reading
6383

6484
- [Ethereum documentation: rollups](https://ethereum.org/en/developers/docs/scaling/#rollups)

docs/cdk/spec/validium-vs-rollup.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

mkdocs.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,9 @@ nav:
6161
- Overview: cdk/overview.md
6262
- Releases:
6363
- Current Release:
64-
- Polygon CDK Fork ID 12: docs/cdk/releases/fork-id-12.md
64+
- Polygon CDK Fork ID 12: cdk/releases/fork-id-12.md
6565
- Previous Releases:
6666
- Polygon CDK Erigon: cdk/getting-started/cdk-erigon/releases.md
67-
- Polygon CDK Fork ID 7 to 9: cdk/how-to/migrate/forkid-7-to-9.md
6867
- Get Started:
6968
- Local Deployment Guide: cdk/getting-started/local-deployment.md
7069
- CLI Tool: cdk/getting-started/cli-tool.md
@@ -77,8 +76,9 @@ nav:
7776
- Resources: cdk/getting-started/cdk-erigon/resources.md
7877
- How To:
7978
- Migrate:
79+
- General Guide for Projects: cdk/how-to/migrate/fork.md
8080
- Fork ID 9 to 12: cdk/how-to/migrate/forkid-9-12.md
81-
- General Guide for Partners: cdk/how-to/migrate/fork.md
81+
- Fork ID 7 to 9: cdk/how-to/migrate/forkid-7-to-9.md
8282
- Create Custom Native Token: cdk/how-to/use-native-token.md
8383
- Integrate DA Layer: cdk/how-to/integrate-da.md
8484
- Manage Allowlists with Policies: cdk/how-to/manage-policies.md
@@ -103,8 +103,6 @@ nav:
103103
- CDK Rollup: cdk/architecture/cdk-zkevm.md
104104
- CDK Validium: cdk/architecture/cdk-validium.md
105105
- Staking the Bridge (STB): cdk/architecture/staking-the-bridge.md
106-
- Specification:
107-
- Validium vs Rollup: cdk/spec/validium-vs-rollup.md
108106
- Glossary:
109107
- Glossary: cdk/glossary/index.md
110108
- Additional Resources:

0 commit comments

Comments
 (0)