Skip to content

Commit e498c98

Browse files
committed
Update golden files
1 parent 55799e8 commit e498c98

13 files changed

+197
-13
lines changed

cardano-cli/cardano-cli.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ library
186186
Cardano.CLI.Parser
187187
Cardano.CLI.Read
188188
Cardano.CLI.Read.Committee.ColdKey
189-
Cardano.CLI.Read.Committee.HotKey
189+
Cardano.CLI.Read.Committee.HotKey
190190
Cardano.CLI.Read.DRep
191191
Cardano.CLI.Read.GovernanceActionId
192192
Cardano.CLI.Render

cardano-cli/test/cardano-cli-golden/files/golden/base_help.cli

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Usage: cardano-cli
1414
| latest
1515
| debug commands
1616
| version
17+
| cip-format
1718
| compatible
1819
)
1920

@@ -38,5 +39,6 @@ Available commands:
3839
help Show all help
3940
version Show the cardano-cli version
4041
ping Ping a cardano node either using node-to-node or node-to-client protocol. It negotiates a handshake and keeps sending keep alive messages.
42+
cip-format Group of commands related to CIP changes.
4143
compatible Limited backward compatible commands for testing
4244
only.

cardano-cli/test/cardano-cli-golden/files/golden/help.cli

Lines changed: 69 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Usage: cardano-cli
1010
| latest
1111
| debug commands
1212
| version
13+
| cip-format
1314
| compatible
1415
)
1516

@@ -1689,7 +1690,10 @@ Usage: cardano-cli conway governance drep id
16891690
| --drep-verification-key-file FILEPATH
16901691
| --drep-key-hash HASH
16911692
)
1692-
[--output-hex | --output-bech32]
1693+
[ --output-hex
1694+
| --output-bech32
1695+
| --output-cip129
1696+
]
16931697
[--out-file FILEPATH]
16941698

16951699
Generate a drep id.
@@ -3950,7 +3954,10 @@ Usage: cardano-cli latest governance drep id
39503954
| --drep-verification-key-file FILEPATH
39513955
| --drep-key-hash HASH
39523956
)
3953-
[--output-hex | --output-bech32]
3957+
[ --output-hex
3958+
| --output-bech32
3959+
| --output-cip129
3960+
]
39543961
[--out-file FILEPATH]
39553962

39563963
Generate a drep id.
@@ -5732,6 +5739,65 @@ Usage: cardano-cli help
57325739

57335740
Show all help
57345741

5742+
Usage: cardano-cli cip-format cip-129
5743+
5744+
Group of commands related to CIP changes.
5745+
5746+
Usage: cardano-cli cip-format cip-129
5747+
( drep
5748+
| committee-hot-key
5749+
| committee-cold-key
5750+
| governance-action-id
5751+
)
5752+
5753+
Modified binary encoding of drep keys, constitutional committee cold and hot
5754+
keys, governance actions.
5755+
https://github.com/cardano-foundation/CIPs/tree/master/CIP-0129
5756+
5757+
Usage: cardano-cli cip-format cip-129 drep
5758+
( --drep-file FILEPATH
5759+
| --drep-hex HEX
5760+
| --drep-bech32 BECH32
5761+
)
5762+
( --output-file FILEPATH
5763+
| --output-text
5764+
)
5765+
5766+
Convert drep verification key to the cip-129 compliant format
5767+
5768+
Usage: cardano-cli cip-format cip-129 committee-hot-key
5769+
( --committee-hot-key-file FILEPATH
5770+
| --committee-hot-key-hex HEX
5771+
| --committee-hot-key-bech32 BECH32
5772+
)
5773+
( --output-file FILEPATH
5774+
| --output-text
5775+
)
5776+
5777+
Convert committee hot key to the cip-129 compliant format
5778+
5779+
Usage: cardano-cli cip-format cip-129 committee-cold-key
5780+
( --committee-cold-key-file FILEPATH
5781+
| --committee-cold-key-hex HEX
5782+
| --committee-cold-key-bech32 BECH32
5783+
)
5784+
( --output-file FILEPATH
5785+
| --output-text
5786+
)
5787+
5788+
Convert committee cold key to the cip-129 compliant format
5789+
5790+
Usage: cardano-cli cip-format cip-129 governance-action-id
5791+
( --governance-action-file FILEPATH
5792+
| --governance-action-hex HEX
5793+
| --governance-action-bech32 BECH32
5794+
)
5795+
( --output-file FILEPATH
5796+
| --output-text
5797+
)
5798+
5799+
Convert governance action id to the cip-129 compliant format
5800+
57355801
Usage: cardano-cli compatible
57365802
( shelley
57375803
| allegra
@@ -7238,6 +7304,7 @@ Usage: cardano-cli compatible conway governance drep id
72387304
)
72397305
[ --output-hex
72407306
| --output-bech32
7307+
| --output-cip129
72417308
]
72427309
[--out-file FILEPATH]
72437310

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Usage: cardano-cli cip-format cip-129
2+
( drep
3+
| committee-hot-key
4+
| committee-cold-key
5+
| governance-action-id
6+
)
7+
8+
Modified binary encoding of drep keys, constitutional committee cold and hot
9+
keys, governance actions.
10+
https://github.com/cardano-foundation/CIPs/tree/master/CIP-0129
11+
12+
Available options:
13+
-h,--help Show this help text
14+
15+
Available commands:
16+
drep Convert drep verification key to the cip-129
17+
compliant format
18+
committee-hot-key Convert committee hot key to the cip-129 compliant
19+
format
20+
committee-cold-key Convert committee cold key to the cip-129 compliant
21+
format
22+
governance-action-id Convert governance action id to the cip-129 compliant
23+
format
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Usage: cardano-cli cip-format cip-129 committee-cold-key
2+
( --committee-cold-key-file FILEPATH
3+
| --committee-cold-key-hex HEX
4+
| --committee-cold-key-bech32 BECH32
5+
)
6+
( --output-file FILEPATH
7+
| --output-text
8+
)
9+
10+
Convert committee cold key to the cip-129 compliant format
11+
12+
Available options:
13+
--committee-cold-key-file FILEPATH
14+
Input hex/bech32/text envelope committee cold key
15+
file
16+
--committee-cold-key-hex HEX
17+
Input hex encoded committee cold key
18+
--committee-cold-key-bech32 BECH32
19+
Input bech32 encoded committee cold key
20+
--output-file FILEPATH Output file
21+
--output-text Output text
22+
-h,--help Show this help text
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Usage: cardano-cli cip-format cip-129 committee-hot-key
2+
( --committee-hot-key-file FILEPATH
3+
| --committee-hot-key-hex HEX
4+
| --committee-hot-key-bech32 BECH32
5+
)
6+
( --output-file FILEPATH
7+
| --output-text
8+
)
9+
10+
Convert committee hot key to the cip-129 compliant format
11+
12+
Available options:
13+
--committee-hot-key-file FILEPATH
14+
Input hex/bech32/text envelope committee hot key file
15+
--committee-hot-key-hex HEX
16+
Input hex encoded committee hot key
17+
--committee-hot-key-bech32 BECH32
18+
Input bech32 encoded committee hot key
19+
--output-file FILEPATH Output file
20+
--output-text Output text
21+
-h,--help Show this help text
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Usage: cardano-cli cip-format cip-129 drep
2+
( --drep-file FILEPATH
3+
| --drep-hex HEX
4+
| --drep-bech32 BECH32
5+
)
6+
( --output-file FILEPATH
7+
| --output-text
8+
)
9+
10+
Convert drep verification key to the cip-129 compliant format
11+
12+
Available options:
13+
--drep-file FILEPATH Input hex/bech32/text envelope drep file
14+
--drep-hex HEX Input hex encoded drep
15+
--drep-bech32 BECH32 Input bech32 encoded drep
16+
--output-file FILEPATH Output file
17+
--output-text Output text
18+
-h,--help Show this help text
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Usage: cardano-cli cip-format cip-129 governance-action-id
2+
( --governance-action-file FILEPATH
3+
| --governance-action-hex HEX
4+
| --governance-action-bech32 BECH32
5+
)
6+
( --output-file FILEPATH
7+
| --output-text
8+
)
9+
10+
Convert governance action id to the cip-129 compliant format
11+
12+
Available options:
13+
--governance-action-file FILEPATH
14+
Input hex/bech32/text envelope governance action file
15+
--governance-action-hex HEX
16+
Input hex encoded governance action
17+
--governance-action-bech32 BECH32
18+
Input bech32 encoded governance action
19+
--output-file FILEPATH Output file
20+
--output-text Output text
21+
-h,--help Show this help text

cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_id.cli

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Usage: cardano-cli compatible conway governance drep id
55
)
66
[ --output-hex
77
| --output-bech32
8+
| --output-cip129
89
]
910
[--out-file FILEPATH]
1011

@@ -17,7 +18,8 @@ Available options:
1718
Filepath of the DRep verification key.
1819
--drep-key-hash HASH DRep verification key hash (either Bech32-encoded or
1920
hex-encoded).
20-
--output-hex Format drep id output as hex.
21-
--output-bech32 Format drep id output as bech32 (the default).
21+
--output-hex Format drep id output to BASE16.
22+
--output-bech32 Format drep id output to BECH32 (default).
23+
--output-cip129 Format drep id output to CIP-129.
2224
--out-file FILEPATH The output file.
2325
-h,--help Show this help text

cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_id.cli

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ Usage: cardano-cli conway governance drep id
33
| --drep-verification-key-file FILEPATH
44
| --drep-key-hash HASH
55
)
6-
[--output-hex | --output-bech32]
6+
[ --output-hex
7+
| --output-bech32
8+
| --output-cip129
9+
]
710
[--out-file FILEPATH]
811

912
Generate a drep id.
@@ -15,7 +18,8 @@ Available options:
1518
Filepath of the DRep verification key.
1619
--drep-key-hash HASH DRep verification key hash (either Bech32-encoded or
1720
hex-encoded).
18-
--output-hex Format drep id output as hex.
19-
--output-bech32 Format drep id output as bech32 (the default).
21+
--output-hex Format drep id output to BASE16.
22+
--output-bech32 Format drep id output to BECH32 (default).
23+
--output-cip129 Format drep id output to CIP-129.
2024
--out-file FILEPATH The output file.
2125
-h,--help Show this help text

cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_id.cli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Available options:
1717
--cold-verification-key-file FILEPATH
1818
Filepath of the stake pool verification key.
1919
--output-bech32 Format pool-id output to BECH32 (default).
20-
--output-hex Format pool-id output to HEX.
20+
--output-hex Format pool-id output to BASE16.
2121
--output-format STRING Optional pool id output format. Accepted output
2222
formats are "hex" and "bech32" (default is "bech32").
2323
The --output-format flag is deprecated and will be

cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_id.cli

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ Usage: cardano-cli latest governance drep id
33
| --drep-verification-key-file FILEPATH
44
| --drep-key-hash HASH
55
)
6-
[--output-hex | --output-bech32]
6+
[ --output-hex
7+
| --output-bech32
8+
| --output-cip129
9+
]
710
[--out-file FILEPATH]
811

912
Generate a drep id.
@@ -15,7 +18,8 @@ Available options:
1518
Filepath of the DRep verification key.
1619
--drep-key-hash HASH DRep verification key hash (either Bech32-encoded or
1720
hex-encoded).
18-
--output-hex Format drep id output as hex.
19-
--output-bech32 Format drep id output as bech32 (the default).
21+
--output-hex Format drep id output to BASE16.
22+
--output-bech32 Format drep id output to BECH32 (default).
23+
--output-cip129 Format drep id output to CIP-129.
2024
--out-file FILEPATH The output file.
2125
-h,--help Show this help text

cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_id.cli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Available options:
1717
--cold-verification-key-file FILEPATH
1818
Filepath of the stake pool verification key.
1919
--output-bech32 Format pool-id output to BECH32 (default).
20-
--output-hex Format pool-id output to HEX.
20+
--output-hex Format pool-id output to BASE16.
2121
--output-format STRING Optional pool id output format. Accepted output
2222
formats are "hex" and "bech32" (default is "bech32").
2323
The --output-format flag is deprecated and will be

0 commit comments

Comments
 (0)