Skip to content

Commit 53a66bd

Browse files
committed
Adapt golden files
1 parent 9e0de3c commit 53a66bd

File tree

4 files changed

+82
-0
lines changed

4 files changed

+82
-0
lines changed

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+
( --all-proposals
8+
| (--governance-action-tx-id TXID
9+
--governance-action-index WORD16)
10+
)
11+
[--volatile-tip | --immutable-tip]
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+
--all-proposals Query for all governance proposals.
31+
--governance-action-tx-id TXID
32+
Txid of the governance action.
33+
--governance-action-index WORD16
34+
Tx's governance action index.
35+
--volatile-tip Use the volatile tip as a target. (This is the
36+
default)
37+
--immutable-tip Use the immutable tip as a target.
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+
( --all-proposals
8+
| (--governance-action-tx-id TXID
9+
--governance-action-index WORD16)
10+
)
11+
[--volatile-tip | --immutable-tip]
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+
--all-proposals Query for all governance proposals.
31+
--governance-action-tx-id TXID
32+
Txid of the governance action.
33+
--governance-action-index WORD16
34+
Tx's governance action index.
35+
--volatile-tip Use the volatile tip as a target. (This is the
36+
default)
37+
--immutable-tip Use the immutable tip as a target.
38+
--out-file FILEPATH The output file.
39+
-h,--help Show this help text

0 commit comments

Comments
 (0)