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
The `params.yml` file defines the parameters of the chain and the deployment process.
81
+
The `input_parser.star` file defines the default parameters of the chain and the deployment process.
70
82
71
83
It includes configurations for simple parameters such as the chain ID and more complex configurations such as the gas token smart contract address.
72
84
73
-
You can modify each of these parameters to customize the chain to your specific needs.
85
+
To customize the chain to your specific needs you need to create a new configuration file in your desired path, for example: `./params.yml`
74
86
75
87
## Run the chain locally
76
88
@@ -102,20 +114,35 @@ You can modify each of these parameters to customize the chain to your specific
102
114
103
115
```
104
116
105
-
The default deployment includes `cdk-erigon` as the sequencer, and `cdk-node` functioning as the sequence sender and aggregator.
117
+
The default deployment it's a **Full Execution Proofs** setup that includes `cdk-erigon` as the sequencer, and `cdk-node` functioning as the sequence sender and aggregator.
106
118
107
119
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`.
108
120
109
121
3. Customize the chain
110
122
111
-
To make customizations to the CDK environment, clone this repo, make any desired configuration changes, and then run:
123
+
To make customizations to the CDK environment create a kurtosis configuration file with your desired environment, for example:
124
+
125
+
### Configure a CDK Sovereign chain
126
+
127
+
```yaml
128
+
args:
129
+
consensus_contract_type: pessimistic
130
+
sequencer_type: erigon
131
+
erigon_strict_mode: false
132
+
agglayer_prover_sp1_key: REDACTED
133
+
enable_normalcy: true
134
+
```
135
+
136
+
Save this config to `params.yml` file, and then run:
112
137
113
138
```sh
114
139
# Delete all stop and clean all currently running enclaves
115
140
kurtosis clean --all
116
141
142
+
143
+
117
144
# Run this command from the root of the repository to start the network
118
-
kurtosis run --enclave cdk .
145
+
kurtosis run --enclave cdk --args-file ./params.yml github.com/0xPolygon/kurtosis-cdk
0 commit comments