Skip to content

Commit 11721af

Browse files
committed
Adapt golden files
1 parent c94c176 commit 11721af

File tree

5 files changed

+114
-0
lines changed

5 files changed

+114
-0
lines changed

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7243,6 +7243,7 @@ Usage: cardano-cli conway query
72437243
| spo-stake-distribution
72447244
| committee-state
72457245
| treasury
7246+
| proposals
72467247
)
72477248

72487249
Node query commands. Will query the local node whose Unix domain socket is
@@ -7608,6 +7609,21 @@ Usage: cardano-cli conway query treasury --socket-path SOCKET_PATH
76087609

76097610
Get the treasury value
76107611

7612+
Usage: cardano-cli conway query proposals --socket-path SOCKET_PATH
7613+
[--cardano-mode
7614+
[--epoch-slots SLOTS]]
7615+
( --mainnet
7616+
| --testnet-magic NATURAL
7617+
)
7618+
[--volatile-tip | --immutable-tip]
7619+
( --all-proposals
7620+
| (--governance-action-tx-id TXID
7621+
--governance-action-index WORD16)
7622+
)
7623+
[--out-file FILEPATH]
7624+
7625+
Get the governance proposals.
7626+
76117627
Usage: cardano-cli conway stake-address
76127628
( key-gen
76137629
| key-hash
@@ -9243,6 +9259,7 @@ Usage: cardano-cli latest query
92439259
| spo-stake-distribution
92449260
| committee-state
92459261
| treasury
9262+
| proposals
92469263
)
92479264

92489265
Node query commands. Will query the local node whose Unix domain socket is
@@ -9608,6 +9625,21 @@ Usage: cardano-cli latest query treasury --socket-path SOCKET_PATH
96089625

96099626
Get the treasury value
96109627

9628+
Usage: cardano-cli latest query proposals --socket-path SOCKET_PATH
9629+
[--cardano-mode
9630+
[--epoch-slots SLOTS]]
9631+
( --mainnet
9632+
| --testnet-magic NATURAL
9633+
)
9634+
[--volatile-tip | --immutable-tip]
9635+
( --all-proposals
9636+
| (--governance-action-tx-id TXID
9637+
--governance-action-index WORD16)
9638+
)
9639+
[--out-file FILEPATH]
9640+
9641+
Get the governance proposals.
9642+
96119643
Usage: cardano-cli latest stake-address
96129644
( key-gen
96139645
| key-hash

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Usage: cardano-cli conway query
2121
| spo-stake-distribution
2222
| committee-state
2323
| treasury
24+
| proposals
2425
)
2526

2627
Node query commands. Will query the local node whose Unix domain socket is
@@ -64,3 +65,4 @@ Available commands:
6465
spo-stake-distribution Get the SPO stake distribution.
6566
committee-state Get the committee state
6667
treasury Get the treasury value
68+
proposals Get the governance proposals.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
Usage: cardano-cli conway query proposals --socket-path SOCKET_PATH
2+
[--cardano-mode
3+
[--epoch-slots SLOTS]]
4+
( --mainnet
5+
| --testnet-magic NATURAL
6+
)
7+
[--volatile-tip | --immutable-tip]
8+
( --all-proposals
9+
| (--governance-action-tx-id TXID
10+
--governance-action-index WORD16)
11+
)
12+
[--out-file FILEPATH]
13+
14+
Get the governance proposals.
15+
16+
Available options:
17+
--socket-path SOCKET_PATH
18+
Path to the node socket. This overrides the
19+
CARDANO_NODE_SOCKET_PATH environment variable. The
20+
argument is optional if CARDANO_NODE_SOCKET_PATH is
21+
defined and mandatory otherwise.
22+
--cardano-mode For talking to a node running in full Cardano mode
23+
(default).
24+
--epoch-slots SLOTS The number of slots per epoch for the Byron era.
25+
(default: 21600)
26+
--mainnet Use the mainnet magic id. This overrides the
27+
CARDANO_NODE_NETWORK_ID environment variable
28+
--testnet-magic NATURAL Specify a testnet magic id. This overrides the
29+
CARDANO_NODE_NETWORK_ID environment variable
30+
--volatile-tip Use the volatile tip as a target. (This is the
31+
default)
32+
--immutable-tip Use the immutable tip as a target.
33+
--all-proposals Query for all governance proposals.
34+
--governance-action-tx-id TXID
35+
Txid of the governance action.
36+
--governance-action-index WORD16
37+
Tx's governance action index.
38+
--out-file FILEPATH The output file.
39+
-h,--help Show this help text

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Usage: cardano-cli latest query
2121
| spo-stake-distribution
2222
| committee-state
2323
| treasury
24+
| proposals
2425
)
2526

2627
Node query commands. Will query the local node whose Unix domain socket is
@@ -64,3 +65,4 @@ Available commands:
6465
spo-stake-distribution Get the SPO stake distribution.
6566
committee-state Get the committee state
6667
treasury Get the treasury value
68+
proposals Get the governance proposals.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
Usage: cardano-cli latest query proposals --socket-path SOCKET_PATH
2+
[--cardano-mode
3+
[--epoch-slots SLOTS]]
4+
( --mainnet
5+
| --testnet-magic NATURAL
6+
)
7+
[--volatile-tip | --immutable-tip]
8+
( --all-proposals
9+
| (--governance-action-tx-id TXID
10+
--governance-action-index WORD16)
11+
)
12+
[--out-file FILEPATH]
13+
14+
Get the governance proposals.
15+
16+
Available options:
17+
--socket-path SOCKET_PATH
18+
Path to the node socket. This overrides the
19+
CARDANO_NODE_SOCKET_PATH environment variable. The
20+
argument is optional if CARDANO_NODE_SOCKET_PATH is
21+
defined and mandatory otherwise.
22+
--cardano-mode For talking to a node running in full Cardano mode
23+
(default).
24+
--epoch-slots SLOTS The number of slots per epoch for the Byron era.
25+
(default: 21600)
26+
--mainnet Use the mainnet magic id. This overrides the
27+
CARDANO_NODE_NETWORK_ID environment variable
28+
--testnet-magic NATURAL Specify a testnet magic id. This overrides the
29+
CARDANO_NODE_NETWORK_ID environment variable
30+
--volatile-tip Use the volatile tip as a target. (This is the
31+
default)
32+
--immutable-tip Use the immutable tip as a target.
33+
--all-proposals Query for all governance proposals.
34+
--governance-action-tx-id TXID
35+
Txid of the governance action.
36+
--governance-action-index WORD16
37+
Tx's governance action index.
38+
--out-file FILEPATH The output file.
39+
-h,--help Show this help text

0 commit comments

Comments
 (0)