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
There are two configuration files which help you understand what happens during a deployment.
@@ -81,30 +74,23 @@ You can modify each of these parameters to customize the chain to your specific
81
74
82
75
## Run the chain locally
83
76
84
-
1.Run the [kurtosis clean](https://docs.kurtosis.com/clean)to remove any existing Kurtosis environments:
77
+
1.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:
85
78
86
79
```bash
87
-
kurtosis clean --all
80
+
kurtosis run --enclave cdk github.com/0xPolygon/kurtosis-cdk
88
81
```
89
82
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:
91
-
92
-
```bash
93
-
kurtosis run --enclave cdk .
94
-
```
95
-
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:
83
+
2. 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:
97
84
98
85
```bash
99
86
Starlark code successfully run. No output was returned.
@@ -116,13 +102,29 @@ You can modify each of these parameters to customize the chain to your specific
116
102
117
103
```
118
104
119
-
3. Inspect the chain
105
+
The default deployment includes `cdk-erigon` as the sequencer, and `cdk-node` functioning as the sequence sender and aggregator.
120
106
121
-
Run the following command to see the status of the enclave and the services running within it at any time.
107
+
You can verify the default versions of these components and the default fork ID by reviewing `input_parser.star`. You can check the default versions of the deployed components and the default fork ID by looking at `input_parser.star`.
122
108
123
-
```sh
124
-
kurtosis enclave inspect cdk
125
-
```
109
+
3. Customize the chain
110
+
111
+
To make customizations to the CDK environment, clone this repo, make any desired configuration changes, and then run:
112
+
113
+
```sh
114
+
# Delete all stop and clean all currently running enclaves
115
+
kurtosis clean --all
116
+
117
+
# Run this command from the root of the repository to start the network
118
+
kurtosis run --enclave cdk .
119
+
```
120
+
121
+
4. Inspect the chain
122
+
123
+
Get a feel for the entire network layout by running the following command:
124
+
125
+
```sh
126
+
kurtosis enclave inspect cdk
127
+
```
126
128
127
129
## Interacting with the chain
128
130
@@ -155,19 +157,13 @@ Let's do some read and write operations and test transactions on the L2 with Fou
155
157
4. Send simple transactions to the chain, such as a transfer of some ETH:
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:
166
+
1. 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