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