Skip to content

Commit 36be307

Browse files
committed
Update golden files
1 parent 459d3c3 commit 36be307

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

@@ -1698,7 +1699,10 @@ Usage: cardano-cli conway governance drep id
16981699
| --drep-verification-key-file FILEPATH
16991700
| --drep-key-hash HASH
17001701
)
1701-
[--output-hex | --output-bech32]
1702+
[ --output-hex
1703+
| --output-bech32
1704+
| --output-cip129
1705+
]
17021706
[--out-file FILEPATH]
17031707

17041708
Generate a drep id.
@@ -3965,7 +3969,10 @@ Usage: cardano-cli latest governance drep id
39653969
| --drep-verification-key-file FILEPATH
39663970
| --drep-key-hash HASH
39673971
)
3968-
[--output-hex | --output-bech32]
3972+
[ --output-hex
3973+
| --output-bech32
3974+
| --output-cip129
3975+
]
39693976
[--out-file FILEPATH]
39703977

39713978
Generate a drep id.
@@ -5753,6 +5760,65 @@ Usage: cardano-cli help
57535760

57545761
Show all help
57555762

5763+
Usage: cardano-cli cip-format cip-129
5764+
5765+
Group of commands related to CIP changes.
5766+
5767+
Usage: cardano-cli cip-format cip-129
5768+
( drep
5769+
| committee-hot-key
5770+
| committee-cold-key
5771+
| governance-action-id
5772+
)
5773+
5774+
Modified binary encoding of drep keys, constitutional committee cold and hot
5775+
keys, governance actions.
5776+
https://github.com/cardano-foundation/CIPs/tree/master/CIP-0129
5777+
5778+
Usage: cardano-cli cip-format cip-129 drep
5779+
( --drep-file FILEPATH
5780+
| --drep-hex HEX
5781+
| --drep-bech32 BECH32
5782+
)
5783+
( --output-file FILEPATH
5784+
| --output-text
5785+
)
5786+
5787+
Convert drep verification key to the cip-129 compliant format
5788+
5789+
Usage: cardano-cli cip-format cip-129 committee-hot-key
5790+
( --committee-hot-key-file FILEPATH
5791+
| --committee-hot-key-hex HEX
5792+
| --committee-hot-key-bech32 BECH32
5793+
)
5794+
( --output-file FILEPATH
5795+
| --output-text
5796+
)
5797+
5798+
Convert committee hot key to the cip-129 compliant format
5799+
5800+
Usage: cardano-cli cip-format cip-129 committee-cold-key
5801+
( --committee-cold-key-file FILEPATH
5802+
| --committee-cold-key-hex HEX
5803+
| --committee-cold-key-bech32 BECH32
5804+
)
5805+
( --output-file FILEPATH
5806+
| --output-text
5807+
)
5808+
5809+
Convert committee cold key to the cip-129 compliant format
5810+
5811+
Usage: cardano-cli cip-format cip-129 governance-action-id
5812+
( --governance-action-file FILEPATH
5813+
| --governance-action-hex HEX
5814+
| --governance-action-bech32 BECH32
5815+
)
5816+
( --output-file FILEPATH
5817+
| --output-text
5818+
)
5819+
5820+
Convert governance action id to the cip-129 compliant format
5821+
57565822
Usage: cardano-cli compatible
57575823
( shelley
57585824
| allegra
@@ -7259,6 +7325,7 @@ Usage: cardano-cli compatible conway governance drep id
72597325
)
72607326
[ --output-hex
72617327
| --output-bech32
7328+
| --output-cip129
72627329
]
72637330
[--out-file FILEPATH]
72647331

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)