You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| 1 | Deploy a local layer 1 Ethereum chain |[ethereum.star](https://github.com/0xPolygon/kurtosis-cdk/blob/main/ethereum.star)| True |
56
56
| 2 | Deploy the CDK smart contracts on the L1 |[deploy_zkevm_contracts.star](https://github.com/0xPolygon/kurtosis-cdk/blob/main/deploy_zkevm_contracts.star)| True |
57
-
| 3 | Deploy the central environment, prover, and CDK erigon or zkEVM node databases |[databases.star](https://github.com/0xPolygon/kurtosis-cdk/blob/main/databases.star)| True |
58
-
| 4 | Deploy the CDK central environment |[cdk_central_environment.star](https://github.com/0xPolygon/kurtosis-cdk/blob/main/cdk_central_environment.star)| True |
59
-
| 5 | Deploy the CDK erigon package |[cdk_erigon.star](https://github.com/0xPolygon/kurtosis-cdk/blob/main/cdk_erigon.star) - included in step 4 deployment | True |
60
-
| 6 | Deploy the bridge infrastructure |[cdk_bridge_infrastructure.star](https://github.com/0xPolygon/kurtosis-cdk/blob/main/cdk_bridge_infra.star)| True |
61
-
| 7 | Deploy the AggLayer |[agglayer.star](https://github.com/0xPolygon/kurtosis-cdk/blob/main/agglayer.star)| True |
57
+
| 3 | Deploy the central environment, prover, and CDK erigon or zkEVM node databases | [databases.star](https://github.com/0xPolygon/kurtosis-cdk/blob/main/databases.star)
58
+
| 4 | Get the genesis file | n/a | False |
59
+
| 5 | Deploy the CDK central environment |[cdk_central_environment.star](https://github.com/0xPolygon/kurtosis-cdk/blob/main/cdk_central_environment.star)| True |
60
+
| 6 | Deploy the CDK erigon package |[cdk_erigon.star](https://github.com/0xPolygon/kurtosis-cdk/blob/main/cdk_erigon.star) - included in step 4 deployment | True |
61
+
| 7 | Deploy the bridge infrastructure |[cdk_bridge_infrastructure.star](https://github.com/0xPolygon/kurtosis-cdk/blob/main/cdk_bridge_infra.star)| True |
62
+
| 8 | Deploy the AggLayer |[agglayer.star](https://github.com/0xPolygon/kurtosis-cdk/blob/main/agglayer.star)| True |
| - | Input parser tool to help deployment stages |[input_parser.star](https://github.com/0xPolygon/kurtosis-cdk/blob/main/input_parser.star) - deployed immediately | n/a |
63
65
| - | zkEVM pool manager tool |[zkevm_pool_manager.star](https://github.com/0xPolygon/kurtosis-cdk/blob/main/zkevm_pool_manager.star) - deployed with CDK erigon node | n/a |
64
66
@@ -88,23 +90,21 @@ You can modify each of these parameters to customize the chain to your specific
88
90
2. In the `kurtosis-cdk` directory, use the [kurtosis run](https://docs.kurtosis.com/run) command to deploy the chain on your local machine by executing the `main.star` script provided with the `params.yml` configuration file:
89
91
90
92
```bash
91
-
kurtosis run --enclave cdk-v1 --args-file params.yml --image-download always.
93
+
kurtosis run --enclave cdk .
92
94
```
93
95
94
-
- `enclave cdk-v1` specifies the name of the enclave, or isolated environment, to use for the deployment process.
95
-
- `args-file params.yml` specifies the configuration file to use for the deployment process.
96
-
- `image-download` specifies to always download the latest Docker images for the deployment process.
97
-
98
96
3. This command typically takes a while to complete and outputs the logs of each step in the deployment process for you to monitor the progress of the chain setup. Once the command is complete, you should see the following output:
99
97
100
98
```bash
101
99
Starlark code successfully run. No output was returned.
The `0xE34...9970` and `0x12d...c625` public-private key pair used in the above commands is the default admin account configured in `params.yml`.
157
-
158
155
### Load testing the chain
159
156
157
+
!!! tip
158
+
You may need to adjust the various commands slightly if you deployed the legacy zkevm-node as the sequencer. You should target the zkevm-node-rpc-001 service instead of cdk-erigon-node-001
159
+
160
160
1. Export the RPC URL of your L2 to an environment variable called `ETH_RPC_URL` with the following command:
161
161
162
162
```bash
163
-
export ETH_RPC_URL="$(kurtosis port print cdk-v1 cdk-erigon-node-001 http-rpc)"
163
+
eexport ETH_RPC_URL="$(kurtosis port print cdk cdk-erigon-node-001 rpc)"
164
164
```
165
165
166
-
2. Use the [`polycli loadtest`](https://github.com/maticnetwork/polygon-cli/blob/main/doc/polycli_loadtest.md) command to send multiple transactions at once to the chain to test its performance:
3. Use the [`polycli loadtest`](https://github.com/maticnetwork/polygon-cli/blob/main/doc/polycli_loadtest.md) command to send multiple transactions at once to the chain to test its performance:
0 commit comments