Skip to content

Commit 635e567

Browse files
authored
Rename --script-info to --hydra-script-catalogue (#2190)
Resolves #2189 <!-- Describe your change here --> --- <!-- Consider each and tick it off one way or the other --> * [x] CHANGELOG updated or not needed * [x] Documentation updated or not needed * [x] Haddocks updated or not needed * [x] No new TODOs introduced or explained herafter
2 parents 29b936d + 9ef738c commit 635e567

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ changes.
6363

6464
- Tested with `cardano-node 10.4.1` and `cardano-cli 10.8.0.0`.
6565

66+
- **BREAKING** Rename `--script-info` option to `--hydra-script-catalogue` in the `hydra-node` CLI.
67+
6668
Fix rotation log id consistency after restart by changing the rotation check to trigger only
6769
when the number of persisted `StateChanged` events exceeds the configured `--persistence-rotate-after` threshold.
6870
* This also prevents immediate rotation on startup when the threshold is set to 1.

docs/docs/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Since we pre-publish hydra scrips before each release, instead of specifying hyd
9494
Check the scripts against which a hydra-node was compiled using:
9595

9696
```shell
97-
hydra-node --script-info
97+
hydra-node --hydra-script-catalogue
9898
```
9999

100100
For public [(test) networks](https://book.world.dev.cardano.org/environments.html), we publish Hydra scripts with each new release, listing transaction IDs in the [release notes](https://github.com/cardano-scaling/hydra/releases) and [`networks.json`](https://github.com/cardano-scaling/hydra/blob/master/hydra-node/networks.json).

hydra-node/src/Hydra/Options.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ hydraNodeCommand =
899899
hydraScriptCatalogue =
900900
infoOption
901901
(decodeUtf8 $ encodePretty Contract.hydraScriptCatalogue)
902-
(long "script-info" <> help "Dump script info as JSON")
902+
(long "hydra-script-catalogue" <> help "Dump Hydra script catalogue as JSON")
903903

904904
defaultContestationPeriod :: ContestationPeriod
905905
defaultContestationPeriod = 600

0 commit comments

Comments
 (0)