Skip to content

Commit

Permalink
Merge pull request #636 from IntersectMBO/smelc/create-testnet-data-r…
Browse files Browse the repository at this point in the history
…elays-follow-ups

Follow-ups of create-testnet-data+relays
  • Loading branch information
smelc committed Mar 6, 2024
2 parents b0ede7b + fcd1be6 commit b4e3965
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/EraBased/Options/Genesis.hs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ pGenesisCreateStaked envCli =
Opt.strOption $ mconcat
[ Opt.long "relay-specification-file"
, Opt.metavar "FILE"
, Opt.help "JSON file specified the relays of each stake pool."
, Opt.help "JSON file that specifies the relays of each stake pool."
, Opt.completer (Opt.bashCompleter "file")
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -654,9 +654,8 @@ readAndDecodeShelleyGenesis fpath = runExceptT $ do
-- @readRelays fp@ reads the relays specification from a file
readRelays :: ()
=> MonadIO m
=> FromJSON a
=> FilePath -- ^ The file to read from
-> ExceptT GenesisCmdError m a
-> ExceptT GenesisCmdError m (Map Word [L.StakePoolRelay])
readRelays fp = do
relaySpecJsonBs <-
handleIOExceptT (GenesisCmdStakePoolRelayFileError fp) (LBS.readFile fp)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@ Available options:
--num-stuffed-utxo INT The number of fake UTxO entries to generate [default
is 0].
--relay-specification-file FILE
JSON file specified the relays of each stake pool.
JSON file that specifies the relays of each stake
pool.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@ Available options:
--num-stuffed-utxo INT The number of fake UTxO entries to generate [default
is 0].
--relay-specification-file FILE
JSON file specified the relays of each stake pool.
JSON file that specifies the relays of each stake
pool.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@ Available options:
--num-stuffed-utxo INT The number of fake UTxO entries to generate [default
is 0].
--relay-specification-file FILE
JSON file specified the relays of each stake pool.
JSON file that specifies the relays of each stake
pool.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@ Available options:
--num-stuffed-utxo INT The number of fake UTxO entries to generate [default
is 0].
--relay-specification-file FILE
JSON file specified the relays of each stake pool.
JSON file that specifies the relays of each stake
pool.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@ Available options:
--num-stuffed-utxo INT The number of fake UTxO entries to generate [default
is 0].
--relay-specification-file FILE
JSON file specified the relays of each stake pool.
JSON file that specifies the relays of each stake
pool.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@ Available options:
--num-stuffed-utxo INT The number of fake UTxO entries to generate [default
is 0].
--relay-specification-file FILE
JSON file specified the relays of each stake pool.
JSON file that specifies the relays of each stake
pool.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@ Available options:
--num-stuffed-utxo INT The number of fake UTxO entries to generate [default
is 0].
--relay-specification-file FILE
JSON file specified the relays of each stake pool.
JSON file that specifies the relays of each stake
pool.
-h,--help Show this help text

0 comments on commit b4e3965

Please sign in to comment.