Skip to content

Commit

Permalink
Adapt golden files
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Oct 12, 2023
1 parent d1e9c04 commit ab46e89
Show file tree
Hide file tree
Showing 9 changed files with 296 additions and 4 deletions.
88 changes: 84 additions & 4 deletions cardano-cli/test/cardano-cli-golden/files/golden/help.cli
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,10 @@ Usage: cardano-cli shelley genesis hash --genesis FILE

Compute the hash of a genesis file

Usage: cardano-cli shelley governance create-mir-certificate
Usage: cardano-cli shelley governance
( create-mir-certificate
| create-genesis-key-delegation-certificate
)

Governance commands.

Expand Down Expand Up @@ -302,6 +305,23 @@ Usage: cardano-cli shelley governance create-mir-certificate transfer-to-rewards
Create an MIR certificate to transfer from the treasury pot to the reserves
pot

Usage: cardano-cli shelley governance create-genesis-key-delegation-certificate
( --genesis-verification-key STRING
| --genesis-verification-key-file FILE
| --genesis-verification-key-hash STRING
)
( --genesis-delegate-verification-key STRING
| --genesis-delegate-verification-key-file FILE
| --genesis-delegate-verification-key-hash STRING
)
( --vrf-verification-key STRING
| --vrf-verification-key-file FILE
| --vrf-verification-key-hash STRING
)
--out-file FILE

Create a genesis key delegation certificate

Usage: cardano-cli shelley node
( key-gen
| key-gen-KES
Expand Down Expand Up @@ -1418,7 +1438,10 @@ Usage: cardano-cli allegra genesis hash --genesis FILE

Compute the hash of a genesis file

Usage: cardano-cli allegra governance create-mir-certificate
Usage: cardano-cli allegra governance
( create-mir-certificate
| create-genesis-key-delegation-certificate
)

Governance commands.

Expand Down Expand Up @@ -1458,6 +1481,23 @@ Usage: cardano-cli allegra governance create-mir-certificate transfer-to-rewards
Create an MIR certificate to transfer from the treasury pot to the reserves
pot

Usage: cardano-cli allegra governance create-genesis-key-delegation-certificate
( --genesis-verification-key STRING
| --genesis-verification-key-file FILE
| --genesis-verification-key-hash STRING
)
( --genesis-delegate-verification-key STRING
| --genesis-delegate-verification-key-file FILE
| --genesis-delegate-verification-key-hash STRING
)
( --vrf-verification-key STRING
| --vrf-verification-key-file FILE
| --vrf-verification-key-hash STRING
)
--out-file FILE

Create a genesis key delegation certificate

Usage: cardano-cli allegra node
( key-gen
| key-gen-KES
Expand Down Expand Up @@ -2572,7 +2612,10 @@ Usage: cardano-cli mary genesis hash --genesis FILE

Compute the hash of a genesis file

Usage: cardano-cli mary governance create-mir-certificate
Usage: cardano-cli mary governance
( create-mir-certificate
| create-genesis-key-delegation-certificate
)

Governance commands.

Expand Down Expand Up @@ -2612,6 +2655,23 @@ Usage: cardano-cli mary governance create-mir-certificate transfer-to-rewards --
Create an MIR certificate to transfer from the treasury pot to the reserves
pot

Usage: cardano-cli mary governance create-genesis-key-delegation-certificate
( --genesis-verification-key STRING
| --genesis-verification-key-file FILE
| --genesis-verification-key-hash STRING
)
( --genesis-delegate-verification-key STRING
| --genesis-delegate-verification-key-file FILE
| --genesis-delegate-verification-key-hash STRING
)
( --vrf-verification-key STRING
| --vrf-verification-key-file FILE
| --vrf-verification-key-hash STRING
)
--out-file FILE

Create a genesis key delegation certificate

Usage: cardano-cli mary node
( key-gen
| key-gen-KES
Expand Down Expand Up @@ -3703,7 +3763,10 @@ Usage: cardano-cli alonzo genesis hash --genesis FILE

Compute the hash of a genesis file

Usage: cardano-cli alonzo governance create-mir-certificate
Usage: cardano-cli alonzo governance
( create-mir-certificate
| create-genesis-key-delegation-certificate
)

Governance commands.

Expand Down Expand Up @@ -3743,6 +3806,23 @@ Usage: cardano-cli alonzo governance create-mir-certificate transfer-to-rewards
Create an MIR certificate to transfer from the treasury pot to the reserves
pot

Usage: cardano-cli alonzo governance create-genesis-key-delegation-certificate
( --genesis-verification-key STRING
| --genesis-verification-key-file FILE
| --genesis-verification-key-hash STRING
)
( --genesis-delegate-verification-key STRING
| --genesis-delegate-verification-key-file FILE
| --genesis-delegate-verification-key-hash STRING
)
( --vrf-verification-key STRING
| --vrf-verification-key-file FILE
| --vrf-verification-key-hash STRING
)
--out-file FILE

Create a genesis key delegation certificate

Usage: cardano-cli alonzo node
( key-gen
| key-gen-KES
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Usage: cardano-cli allegra governance
( create-mir-certificate
| create-genesis-key-delegation-certificate
)

Governance commands.

Available options:
-h,--help Show this help text

Available commands:
create-mir-certificate Create an MIR (Move Instantaneous Rewards)
certificate
create-genesis-key-delegation-certificate
Create a genesis key delegation certificate
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
Usage: cardano-cli allegra governance create-genesis-key-delegation-certificate
( --genesis-verification-key STRING
| --genesis-verification-key-file FILE
| --genesis-verification-key-hash STRING
)
( --genesis-delegate-verification-key STRING
| --genesis-delegate-verification-key-file FILE
| --genesis-delegate-verification-key-hash STRING
)
( --vrf-verification-key STRING
| --vrf-verification-key-file FILE
| --vrf-verification-key-hash STRING
)
--out-file FILE

Create a genesis key delegation certificate

Available options:
--genesis-verification-key STRING
Genesis verification key (hex-encoded).
--genesis-verification-key-file FILE
Filepath of the genesis verification key.
--genesis-verification-key-hash STRING
Genesis verification key hash (hex-encoded).
--genesis-delegate-verification-key STRING
Genesis delegate verification key (hex-encoded).
--genesis-delegate-verification-key-file FILE
Filepath of the genesis delegate verification key.
--genesis-delegate-verification-key-hash STRING
Genesis delegate verification key hash (hex-encoded).
--vrf-verification-key STRING
VRF verification key (Bech32 or hex-encoded).
--vrf-verification-key-file FILE
Filepath of the VRF verification key.
--vrf-verification-key-hash STRING
VRF verification key hash (hex-encoded).
--out-file FILE The output file.
-h,--help Show this help text
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Usage: cardano-cli alonzo governance
( create-mir-certificate
| create-genesis-key-delegation-certificate
)

Governance commands.

Available options:
-h,--help Show this help text

Available commands:
create-mir-certificate Create an MIR (Move Instantaneous Rewards)
certificate
create-genesis-key-delegation-certificate
Create a genesis key delegation certificate
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
Usage: cardano-cli alonzo governance create-genesis-key-delegation-certificate
( --genesis-verification-key STRING
| --genesis-verification-key-file FILE
| --genesis-verification-key-hash STRING
)
( --genesis-delegate-verification-key STRING
| --genesis-delegate-verification-key-file FILE
| --genesis-delegate-verification-key-hash STRING
)
( --vrf-verification-key STRING
| --vrf-verification-key-file FILE
| --vrf-verification-key-hash STRING
)
--out-file FILE

Create a genesis key delegation certificate

Available options:
--genesis-verification-key STRING
Genesis verification key (hex-encoded).
--genesis-verification-key-file FILE
Filepath of the genesis verification key.
--genesis-verification-key-hash STRING
Genesis verification key hash (hex-encoded).
--genesis-delegate-verification-key STRING
Genesis delegate verification key (hex-encoded).
--genesis-delegate-verification-key-file FILE
Filepath of the genesis delegate verification key.
--genesis-delegate-verification-key-hash STRING
Genesis delegate verification key hash (hex-encoded).
--vrf-verification-key STRING
VRF verification key (Bech32 or hex-encoded).
--vrf-verification-key-file FILE
Filepath of the VRF verification key.
--vrf-verification-key-hash STRING
VRF verification key hash (hex-encoded).
--out-file FILE The output file.
-h,--help Show this help text
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Usage: cardano-cli mary governance
( create-mir-certificate
| create-genesis-key-delegation-certificate
)

Governance commands.

Available options:
-h,--help Show this help text

Available commands:
create-mir-certificate Create an MIR (Move Instantaneous Rewards)
certificate
create-genesis-key-delegation-certificate
Create a genesis key delegation certificate
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
Usage: cardano-cli mary governance create-genesis-key-delegation-certificate
( --genesis-verification-key STRING
| --genesis-verification-key-file FILE
| --genesis-verification-key-hash STRING
)
( --genesis-delegate-verification-key STRING
| --genesis-delegate-verification-key-file FILE
| --genesis-delegate-verification-key-hash STRING
)
( --vrf-verification-key STRING
| --vrf-verification-key-file FILE
| --vrf-verification-key-hash STRING
)
--out-file FILE

Create a genesis key delegation certificate

Available options:
--genesis-verification-key STRING
Genesis verification key (hex-encoded).
--genesis-verification-key-file FILE
Filepath of the genesis verification key.
--genesis-verification-key-hash STRING
Genesis verification key hash (hex-encoded).
--genesis-delegate-verification-key STRING
Genesis delegate verification key (hex-encoded).
--genesis-delegate-verification-key-file FILE
Filepath of the genesis delegate verification key.
--genesis-delegate-verification-key-hash STRING
Genesis delegate verification key hash (hex-encoded).
--vrf-verification-key STRING
VRF verification key (Bech32 or hex-encoded).
--vrf-verification-key-file FILE
Filepath of the VRF verification key.
--vrf-verification-key-hash STRING
VRF verification key hash (hex-encoded).
--out-file FILE The output file.
-h,--help Show this help text
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Usage: cardano-cli shelley governance
( create-mir-certificate
| create-genesis-key-delegation-certificate
)

Governance commands.

Available options:
-h,--help Show this help text

Available commands:
create-mir-certificate Create an MIR (Move Instantaneous Rewards)
certificate
create-genesis-key-delegation-certificate
Create a genesis key delegation certificate
Loading

0 comments on commit ab46e89

Please sign in to comment.