cardano-testnet: harmonize node and genesis files API + allow (for example) to only pass a custom conway genesis #6138
+178
−174
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
cardano-testnet
doesn't reflect committee members added into Conway genesis configuration #6130 (comment)Together with #6103 (6103 being stacked on this PR), this PR allows for the following:
cardano-testnet
usable as a standalone executablecardano-testnet
generates it. This is exemplified in cardano-testnet executable: take node config file as optional input #6103 test of thecardano-testnet
executable, that specifies only the Alonzo and Conway genesis files, but leaves the Shelley genesis to be created automatically: https://github.com/IntersectMBO/cardano-node/blob/smelc/testnet-pass-config-files/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/CommandLineExecutable.hs#L33Checklist