Skip to content

Commit 381f41c

Browse files
committed
feat(config): add PROTOCOL_VERSION option to testnet configs
Added the PROTOCOL_VERSION environment variable to testnet.json files for conway_fast, conway_slow, and mainnet_fast scripts. This describes specifying the protocol version (e.g., 11 for latest Conway) when starting clusters.
1 parent 58349c8 commit 381f41c

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/cardonnay_scripts/scripts/conway_fast/testnet.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"MIXED_P2P": "if set, local cluster will use P2P for some nodes and legacy topology for others",
99
"UTXO_BACKEND": "'mem' or 'disk', default is 'mem' (or legacy) if unset",
1010
"NO_CC": "if set, will not create committee",
11-
"DRY_RUN": "if set, will not start the cluster"
11+
"DRY_RUN": "if set, will not start the cluster",
12+
"PROTOCOL_VERSION": "if set, will use the specified protocol version (e.g., 11 for latest Conway, etc.)"
1213
}
1314
}

src/cardonnay_scripts/scripts/conway_slow/testnet.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"MIXED_P2P": "if set, local cluster will use P2P for some nodes and legacy topology for others",
99
"UTXO_BACKEND": "'mem' or 'disk', default is 'mem' (or legacy) if unset",
1010
"NO_CC": "if set, will not create committee",
11-
"DRY_RUN": "if set, will not start the cluster"
11+
"DRY_RUN": "if set, will not start the cluster",
12+
"PROTOCOL_VERSION": "if set, will use the specified protocol version (e.g., 11 for latest Conway, etc.)"
1213
}
1314
}

src/cardonnay_scripts/scripts/mainnet_fast/testnet.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"MIXED_P2P": "if set, local cluster will use P2P for some nodes and legacy topology for others",
99
"UTXO_BACKEND": "'mem' or 'disk', default is 'mem' (or legacy) if unset",
1010
"NO_CC": "if set, will not create committee",
11-
"DRY_RUN": "if set, will not start the cluster"
11+
"DRY_RUN": "if set, will not start the cluster",
12+
"PROTOCOL_VERSION": "if set, will use the specified protocol version (e.g., 11 for latest Conway, etc.)"
1213
}
1314
}

0 commit comments

Comments
 (0)