CDK Erigon
These configurations are based on cdk-erigon and fork 12 of the agglayer contracts.
info
Configurations for other forks (9 and 11) can be found in the .github/tests/combinations/
directory.
ZK Rollup
This configuration deploys a ZK rollup environment powered by Polygon's zkEVM Prover. It ensures data availability on-chain, providing high security and Ethereum-level guarantees.
What gets deployed?
- L1 Ethereum blockchain (lighthouse/geth).
- Agglayer stack (contracts, agglayer service and mock prover).
- L2 CDK-Erigon blockchain (cdk-erigon, zkevm-pool-manager, zkevm-proverand executor, cdk-node).
- zkEVM bridge to facilitate asset bridging between L1 and L2 chains.
Best for
- Applications requiring Ethereum-level security guarantees.
- Scenarios where on-chain data availability is critical.
Deployment
To deploy this environment:
kurtosis run --enclave cdk --args-file .github/tests/combinations/fork12-cdk-erigon-rollup.yml .
ZK Validium
This configuration deploys a ZK validium environment, which stores data off-chain for reduced costs while maintaining security through zk proofs.
What gets deployed?
- L1 Ethereum blockchain (lighthouse/geth).
- Agglayer stack (contracts, agglayer service and mock prover).
- L2 Optimism blockchain (cdk-erigon, zkevm-pool-manager, zkevm-proverand executor, cdk-node).
- Data availability layer, leveraging the cdk-dac.
- zkEVM bridge to facilitate asset bridging between L1 and L2 chains.
- Additional services: bridge spammer to generate load on the network.
Best for
- Applications requiring lower transaction costs.
- Scenarios where off-chain data availability is acceptable.
Deployment
To deploy this environment:
kurtosis run --enclave cdk --args-file .github/tests/combinations/fork12-cdk-erigon-validium.yml .
Sovereign
This configuration deploys a sovereign chain that operates independently of L1 while maintaining zk proof capabilities.
What gets deployed?
- L1 Ethereum blockchain (lighthouse/geth).
- Agglayer stack (contracts, agglayer service and mock prover).
- L2 Optimism blockchain (cdk-erigon, zkevm-pool-manager and cdk-node).
- Data availability layer, leveraging the cdk-dac.
- zkEVM bridge to facilitate asset bridging between L1 and L2 chains.
Best for
- Independent chains that do not rely on L1 for security.
- Testing sovereign chain concepts.
Deployment
To deploy this environment:
kurtosis run --enclave cdk --args-file .github/tests/combinations/fork12-cdk-erigon-sovereign.yml .