-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #984 from IntersectMBO/smelc/cl/implement-query-pr…
…oposals Implement command "query proposals"
- Loading branch information
Showing
9 changed files
with
203 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_proposals.cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
Usage: cardano-cli conway query proposals --socket-path SOCKET_PATH | ||
[--cardano-mode | ||
[--epoch-slots SLOTS]] | ||
( --mainnet | ||
| --testnet-magic NATURAL | ||
) | ||
[--volatile-tip | --immutable-tip] | ||
( --all-proposals | ||
| (--governance-action-tx-id TXID | ||
--governance-action-index WORD16) | ||
) | ||
[--out-file FILEPATH] | ||
|
||
Get the governance proposals. | ||
|
||
Available options: | ||
--socket-path SOCKET_PATH | ||
Path to the node socket. This overrides the | ||
CARDANO_NODE_SOCKET_PATH environment variable. The | ||
argument is optional if CARDANO_NODE_SOCKET_PATH is | ||
defined and mandatory otherwise. | ||
--cardano-mode For talking to a node running in full Cardano mode | ||
(default). | ||
--epoch-slots SLOTS The number of slots per epoch for the Byron era. | ||
(default: 21600) | ||
--mainnet Use the mainnet magic id. This overrides the | ||
CARDANO_NODE_NETWORK_ID environment variable | ||
--testnet-magic NATURAL Specify a testnet magic id. This overrides the | ||
CARDANO_NODE_NETWORK_ID environment variable | ||
--volatile-tip Use the volatile tip as a target. (This is the | ||
default) | ||
--immutable-tip Use the immutable tip as a target. | ||
--all-proposals Query for all governance proposals. | ||
--governance-action-tx-id TXID | ||
Txid of the governance action. | ||
--governance-action-index WORD16 | ||
Tx's governance action index. | ||
--out-file FILEPATH The output file. | ||
-h,--help Show this help text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_proposals.cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
Usage: cardano-cli latest query proposals --socket-path SOCKET_PATH | ||
[--cardano-mode | ||
[--epoch-slots SLOTS]] | ||
( --mainnet | ||
| --testnet-magic NATURAL | ||
) | ||
[--volatile-tip | --immutable-tip] | ||
( --all-proposals | ||
| (--governance-action-tx-id TXID | ||
--governance-action-index WORD16) | ||
) | ||
[--out-file FILEPATH] | ||
|
||
Get the governance proposals. | ||
|
||
Available options: | ||
--socket-path SOCKET_PATH | ||
Path to the node socket. This overrides the | ||
CARDANO_NODE_SOCKET_PATH environment variable. The | ||
argument is optional if CARDANO_NODE_SOCKET_PATH is | ||
defined and mandatory otherwise. | ||
--cardano-mode For talking to a node running in full Cardano mode | ||
(default). | ||
--epoch-slots SLOTS The number of slots per epoch for the Byron era. | ||
(default: 21600) | ||
--mainnet Use the mainnet magic id. This overrides the | ||
CARDANO_NODE_NETWORK_ID environment variable | ||
--testnet-magic NATURAL Specify a testnet magic id. This overrides the | ||
CARDANO_NODE_NETWORK_ID environment variable | ||
--volatile-tip Use the volatile tip as a target. (This is the | ||
default) | ||
--immutable-tip Use the immutable tip as a target. | ||
--all-proposals Query for all governance proposals. | ||
--governance-action-tx-id TXID | ||
Txid of the governance action. | ||
--governance-action-index WORD16 | ||
Tx's governance action index. | ||
--out-file FILEPATH The output file. | ||
-h,--help Show this help text |