Skip to content

Commit

Permalink
Update golden tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbo4350 committed Jul 24, 2024
1 parent bd48d96 commit ecb78e6
Show file tree
Hide file tree
Showing 8 changed files with 397 additions and 96 deletions.
170 changes: 122 additions & 48 deletions cardano-cli/test/cardano-cli-golden/files/golden/help.cli

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ Usage: cardano-cli conway transaction build-estimate
( --spending-plutus-script-v2
| --spending-plutus-script-v3
)
( --spending-reference-tx-in-datum-cbor-file CBOR_FILE
[ --spending-reference-tx-in-datum-cbor-file CBOR_FILE
| --spending-reference-tx-in-datum-file JSON_FILE
| --spending-reference-tx-in-datum-value JSON_VALUE
| --spending-reference-tx-in-inline-datum-present
)
]
( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE
| --spending-reference-tx-in-redeemer-file JSON_FILE
| --spending-reference-tx-in-redeemer-value JSON_VALUE
Expand All @@ -24,11 +24,11 @@ Usage: cardano-cli conway transaction build-estimate
| --simple-script-tx-in-reference TX-IN
| --tx-in-script-file FILE
[
( --tx-in-datum-cbor-file CBOR_FILE
[ --tx-in-datum-cbor-file CBOR_FILE
| --tx-in-datum-file JSON_FILE
| --tx-in-datum-value JSON_VALUE
| --tx-in-inline-datum-present
)
]
( --tx-in-redeemer-cbor-file CBOR_FILE
| --tx-in-redeemer-file JSON_FILE
| --tx-in-redeemer-value JSON_VALUE
Expand Down Expand Up @@ -124,21 +124,37 @@ Usage: cardano-cli conway transaction build-estimate
| --metadata-cbor-file FILE
]
[--vote-file FILE
[--vote-script-file FILE
[ --vote-script-file FILE
[
( --vote-redeemer-cbor-file CBOR_FILE
| --vote-redeemer-file JSON_FILE
| --vote-redeemer-value JSON_VALUE
)
--vote-execution-units (INT, INT)]]]
--vote-execution-units (INT, INT)]
| --vote-tx-in-reference TX-IN
--vote-plutus-script-v3
( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE
| --vote-reference-tx-in-redeemer-file JSON_FILE
| --vote-reference-tx-in-redeemer-value JSON_VALUE
)
--vote-reference-tx-in-execution-units (INT, INT)
]]
[--proposal-file FILE
[--proposal-script-file FILE
[ --proposal-script-file FILE
[
( --proposal-redeemer-cbor-file CBOR_FILE
| --proposal-redeemer-file JSON_FILE
| --proposal-redeemer-value JSON_VALUE
)
--proposal-execution-units (INT, INT)]]]
--proposal-execution-units (INT, INT)]
| --proposal-tx-in-reference TX-IN
--proposal-plutus-script-v3
( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE
| --proposal-reference-tx-in-redeemer-file JSON_FILE
| --proposal-reference-tx-in-redeemer-value JSON_VALUE
)
--proposal-reference-tx-in-execution-units (INT, INT)
]]
[--current-treasury-value LOVELACE
--treasury-donation LOVELACE]
--out-file FILE
Expand Down Expand Up @@ -437,6 +453,22 @@ Available options:
top-level strings and numbers.
--vote-execution-units (INT, INT)
The time and space units needed by the script.
--vote-tx-in-reference TX-IN
TxId#TxIx - Specify a reference input. The reference
input must have a plutus reference script attached.
--vote-plutus-script-v3 Specify a plutus script v3 reference script.
--vote-reference-tx-in-redeemer-cbor-file CBOR_FILE
The script redeemer file. The file has to be in CBOR
format.
--vote-reference-tx-in-redeemer-file JSON_FILE
The script redeemer file. The file must follow the
detailed JSON schema for script data.
--vote-reference-tx-in-redeemer-value JSON_VALUE
The script redeemer value. There is no schema:
(almost) any JSON value is supported, including
top-level strings and numbers.
--vote-reference-tx-in-execution-units (INT, INT)
The time and space units needed by the script.
--proposal-file FILE Filepath of the proposal.
--proposal-script-file FILE
The file containing the script to witness a proposal
Expand All @@ -452,6 +484,23 @@ Available options:
top-level strings and numbers.
--proposal-execution-units (INT, INT)
The time and space units needed by the script.
--proposal-tx-in-reference TX-IN
TxId#TxIx - Specify a reference input. The reference
input must have a plutus reference script attached.
--proposal-plutus-script-v3
Specify a plutus script v3 reference script.
--proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE
The script redeemer file. The file has to be in CBOR
format.
--proposal-reference-tx-in-redeemer-file JSON_FILE
The script redeemer file. The file must follow the
detailed JSON schema for script data.
--proposal-reference-tx-in-redeemer-value JSON_VALUE
The script redeemer value. There is no schema:
(almost) any JSON value is supported, including
top-level strings and numbers.
--proposal-reference-tx-in-execution-units (INT, INT)
The time and space units needed by the script.
--current-treasury-value LOVELACE
The current treasury value.
--treasury-donation LOVELACE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Usage: cardano-cli conway transaction build-raw
( --spending-plutus-script-v2
| --spending-plutus-script-v3
)
( --spending-reference-tx-in-datum-cbor-file CBOR_FILE
[ --spending-reference-tx-in-datum-cbor-file CBOR_FILE
| --spending-reference-tx-in-datum-file JSON_FILE
| --spending-reference-tx-in-datum-value JSON_VALUE
| --spending-reference-tx-in-inline-datum-present
)
]
( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE
| --spending-reference-tx-in-redeemer-file JSON_FILE
| --spending-reference-tx-in-redeemer-value JSON_VALUE
Expand All @@ -20,11 +20,11 @@ Usage: cardano-cli conway transaction build-raw
| --simple-script-tx-in-reference TX-IN
| --tx-in-script-file FILE
[
( --tx-in-datum-cbor-file CBOR_FILE
[ --tx-in-datum-cbor-file CBOR_FILE
| --tx-in-datum-file JSON_FILE
| --tx-in-datum-value JSON_VALUE
| --tx-in-inline-datum-present
)
]
( --tx-in-redeemer-cbor-file CBOR_FILE
| --tx-in-redeemer-file JSON_FILE
| --tx-in-redeemer-value JSON_VALUE
Expand Down Expand Up @@ -120,21 +120,37 @@ Usage: cardano-cli conway transaction build-raw
]
[--protocol-params-file FILE]
[--vote-file FILE
[--vote-script-file FILE
[ --vote-script-file FILE
[
( --vote-redeemer-cbor-file CBOR_FILE
| --vote-redeemer-file JSON_FILE
| --vote-redeemer-value JSON_VALUE
)
--vote-execution-units (INT, INT)]]]
--vote-execution-units (INT, INT)]
| --vote-tx-in-reference TX-IN
--vote-plutus-script-v3
( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE
| --vote-reference-tx-in-redeemer-file JSON_FILE
| --vote-reference-tx-in-redeemer-value JSON_VALUE
)
--vote-reference-tx-in-execution-units (INT, INT)
]]
[--proposal-file FILE
[--proposal-script-file FILE
[ --proposal-script-file FILE
[
( --proposal-redeemer-cbor-file CBOR_FILE
| --proposal-redeemer-file JSON_FILE
| --proposal-redeemer-value JSON_VALUE
)
--proposal-execution-units (INT, INT)]]]
--proposal-execution-units (INT, INT)]
| --proposal-tx-in-reference TX-IN
--proposal-plutus-script-v3
( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE
| --proposal-reference-tx-in-redeemer-file JSON_FILE
| --proposal-reference-tx-in-redeemer-value JSON_VALUE
)
--proposal-reference-tx-in-execution-units (INT, INT)
]]
[--current-treasury-value LOVELACE
--treasury-donation LOVELACE]
--out-file FILE
Expand Down Expand Up @@ -422,6 +438,22 @@ Available options:
top-level strings and numbers.
--vote-execution-units (INT, INT)
The time and space units needed by the script.
--vote-tx-in-reference TX-IN
TxId#TxIx - Specify a reference input. The reference
input must have a plutus reference script attached.
--vote-plutus-script-v3 Specify a plutus script v3 reference script.
--vote-reference-tx-in-redeemer-cbor-file CBOR_FILE
The script redeemer file. The file has to be in CBOR
format.
--vote-reference-tx-in-redeemer-file JSON_FILE
The script redeemer file. The file must follow the
detailed JSON schema for script data.
--vote-reference-tx-in-redeemer-value JSON_VALUE
The script redeemer value. There is no schema:
(almost) any JSON value is supported, including
top-level strings and numbers.
--vote-reference-tx-in-execution-units (INT, INT)
The time and space units needed by the script.
--proposal-file FILE Filepath of the proposal.
--proposal-script-file FILE
The file containing the script to witness a proposal
Expand All @@ -437,6 +469,23 @@ Available options:
top-level strings and numbers.
--proposal-execution-units (INT, INT)
The time and space units needed by the script.
--proposal-tx-in-reference TX-IN
TxId#TxIx - Specify a reference input. The reference
input must have a plutus reference script attached.
--proposal-plutus-script-v3
Specify a plutus script v3 reference script.
--proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE
The script redeemer file. The file has to be in CBOR
format.
--proposal-reference-tx-in-redeemer-file JSON_FILE
The script redeemer file. The file must follow the
detailed JSON schema for script data.
--proposal-reference-tx-in-redeemer-value JSON_VALUE
The script redeemer value. There is no schema:
(almost) any JSON value is supported, including
top-level strings and numbers.
--proposal-reference-tx-in-execution-units (INT, INT)
The time and space units needed by the script.
--current-treasury-value LOVELACE
The current treasury value.
--treasury-donation LOVELACE
Expand Down
Loading

0 comments on commit ecb78e6

Please sign in to comment.