-
Notifications
You must be signed in to change notification settings - Fork 751
Description
Currently cardano-testnet relies on a hardcoded configuration yaml file: https://github.com/input-output-hk/cardano-node/blob/91cc07a9c085373085391be130fc1aff96a2c8fc/cardano-testnet/src/Testnet/Cardano.hs#L225
And then updates the yaml file in an ad hoc fashion: https://github.com/input-output-hk/cardano-node/blob/91cc07a9c085373085391be130fc1aff96a2c8fc/cardano-testnet/src/Testnet/Cardano.hs#L280
This makes it more challenging to vary settings in the configuration per test (e.g if you wanted to output JSON logs instead of plain text logging, test incorrect configuration settings etc).
Allowing the specification of the configuration yaml file for all the nodes in question would be a good start. The eventual aim would be to modify the cardano-testnet executable to allow specification of a single yaml file for all nodes or individual yaml files for each node.
- It it now possible to set the configurational YAML file for each property independently
- The cardano-testnet executable allows the specification of independent YAML files for each node (with sensible defaults if none are specified)