Skip to content

Commit a89c623

Browse files
committed
Adapt golden files
1 parent f0c6a2d commit a89c623

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
@@ -7343,6 +7343,7 @@ Usage: cardano-cli conway query
73437343
| spo-stake-distribution
73447344
| committee-state
73457345
| treasury
7346+
| proposals
73467347
)
73477348

73487349
Node query commands. Will query the local node whose Unix domain socket is
@@ -7708,6 +7709,21 @@ Usage: cardano-cli conway query treasury --socket-path SOCKET_PATH
77087709

77097710
Get the treasury value
77107711

7712+
Usage: cardano-cli conway query proposals --socket-path SOCKET_PATH
7713+
[--cardano-mode
7714+
[--epoch-slots SLOTS]]
7715+
( --mainnet
7716+
| --testnet-magic NATURAL
7717+
)
7718+
( --all-proposals
7719+
| (--governance-action-tx-id TXID
7720+
--governance-action-index WORD16)
7721+
)
7722+
[--volatile-tip | --immutable-tip]
7723+
[--out-file FILEPATH]
7724+
7725+
Get the governance proposals.
7726+
77117727
Usage: cardano-cli conway stake-address
77127728
( key-gen
77137729
| key-hash
@@ -9343,6 +9359,7 @@ Usage: cardano-cli latest query
93439359
| spo-stake-distribution
93449360
| committee-state
93459361
| treasury
9362+
| proposals
93469363
)
93479364

93489365
Node query commands. Will query the local node whose Unix domain socket is
@@ -9708,6 +9725,21 @@ Usage: cardano-cli latest query treasury --socket-path SOCKET_PATH
97089725

97099726
Get the treasury value
97109727

9728+
Usage: cardano-cli latest query proposals --socket-path SOCKET_PATH
9729+
[--cardano-mode
9730+
[--epoch-slots SLOTS]]
9731+
( --mainnet
9732+
| --testnet-magic NATURAL
9733+
)
9734+
( --all-proposals
9735+
| (--governance-action-tx-id TXID
9736+
--governance-action-index WORD16)
9737+
)
9738+
[--volatile-tip | --immutable-tip]
9739+
[--out-file FILEPATH]
9740+
9741+
Get the governance proposals.
9742+
97119743
Usage: cardano-cli latest stake-address
97129744
( key-gen
97139745
| 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+
( --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)