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
- Removed `CardanoTestnetOptions` type and `CreateEnvOptions` wrapper (replaced by purpose-specific types).
5
+
- Removed dead fields `cardanoNodeLoggingFormat` and `cardanoOutputDir`.
6
+
7
+
### Changed
8
+
9
+
- Split `CardanoTestnetOptions` into `TestnetCreationOptions` and `TestnetRuntimeOptions` so each function receives only the fields it uses.
10
+
-`CardanoTestnetCliOptions` is now a sum type (`StartFromScratch | StartFromEnv`), making `--node-env` and `--num-pool-nodes` structurally mutually exclusive in the CLI parser.
11
+
- Simplified `CardanoTestnetCreateEnvOptions` and `createTestnetEnv` signatures (fewer arguments, genesis options and on-chain params folded into `TestnetCreationOptions`).
12
+
13
+
### Added
14
+
15
+
-`readNodeOptionsFromEnv`: scans an existing testnet environment directory to classify nodes as SPO or relay.
-- We can't fill in the optional Genesis files at parse time, because we want to be in a monad
47
-
-- to properly parse JSON. We delegate this task to the caller.
48
-
pCreateEnvOptions::ParserCreateEnvOptions
49
-
pCreateEnvOptions =CreateEnvOptions
50
-
<$> pOnChainParams
43
+
pFromEnv::ParserTestnetEnvOptions
44
+
pFromEnv =TestnetEnvOptions
45
+
<$>OA.strOption
46
+
( OA.long "node-env"
47
+
<>OA.metavar "FILEPATH"
48
+
<>OA.help "Path to the node's environment (which is generated otherwise). You can generate a default environment with the 'create-env' command, then modify it and pass it with this argument."
<>OA.help "Path to the node's environment (which is generated otherwise). You can generate a default environment with the 'create-env' command, then modify it and pass it with this argument."
0 commit comments