Skip to content

Commit

Permalink
Should be removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbo4350 committed Jan 31, 2025
1 parent 1ef645d commit 7f29e2f
Show file tree
Hide file tree
Showing 9 changed files with 52 additions and 18 deletions.
7 changes: 3 additions & 4 deletions cardano-cli/test/cardano-cli-golden/Test/Golden/ErrorsSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,9 @@ test_VoteReadError =
,
( "GovernanceVoteCmdReadVoteFileError"
, GovernanceVoteCmdReadVoteFileError $
VoteErrorFile $
FileError "path/file.txt" $
TextEnvelopeError $
TextEnvelopeAesonDecodeError "some error description"
FileError "path/file.txt" $
TextEnvelopeError $
TextEnvelopeAesonDecodeError "some error description"
)
,
( "GovernanceVoteCmdWriteError"
Expand Down
28 changes: 21 additions & 7 deletions cardano-cli/test/cardano-cli-golden/files/golden/help.cli
Original file line number Diff line number Diff line change
Expand Up @@ -8245,7 +8245,9 @@ Usage: cardano-cli conway transaction build-raw
)
--vote-execution-units (INT, INT)]
| --vote-tx-in-reference TX-IN
--vote-plutus-script-v3
( --vote-plutus-script-v2
| --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
Expand Down Expand Up @@ -8399,7 +8401,9 @@ Usage: cardano-cli conway transaction build
| --vote-redeemer-value JSON_VALUE
]
| --vote-tx-in-reference TX-IN
--vote-plutus-script-v3
( --vote-plutus-script-v2
| --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
Expand Down Expand Up @@ -8562,7 +8566,9 @@ Usage: cardano-cli conway transaction build-estimate
)
--vote-execution-units (INT, INT)]
| --vote-tx-in-reference TX-IN
--vote-plutus-script-v3
( --vote-plutus-script-v2
| --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
Expand Down Expand Up @@ -10300,7 +10306,9 @@ Usage: cardano-cli latest transaction build-raw
)
--vote-execution-units (INT, INT)]
| --vote-tx-in-reference TX-IN
--vote-plutus-script-v3
( --vote-plutus-script-v2
| --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
Expand Down Expand Up @@ -10454,7 +10462,9 @@ Usage: cardano-cli latest transaction build
| --vote-redeemer-value JSON_VALUE
]
| --vote-tx-in-reference TX-IN
--vote-plutus-script-v3
( --vote-plutus-script-v2
| --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
Expand Down Expand Up @@ -10617,7 +10627,9 @@ Usage: cardano-cli latest transaction build-estimate
)
--vote-execution-units (INT, INT)]
| --vote-tx-in-reference TX-IN
--vote-plutus-script-v3
( --vote-plutus-script-v2
| --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
Expand Down Expand Up @@ -11715,7 +11727,9 @@ Usage: cardano-cli compatible conway transaction signed-transaction
)
--vote-execution-units (INT, INT)]
| --vote-tx-in-reference TX-IN
--vote-plutus-script-v3
( --vote-plutus-script-v2
| --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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ Usage: cardano-cli compatible conway transaction signed-transaction
)
--vote-execution-units (INT, INT)]
| --vote-tx-in-reference TX-IN
--vote-plutus-script-v3
( --vote-plutus-script-v2
| --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
Expand Down Expand Up @@ -172,6 +174,7 @@ Available options:
--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-v2 Specify a plutus script v2 reference script.
--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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ Usage: cardano-cli conway transaction build-estimate
)
--vote-execution-units (INT, INT)]
| --vote-tx-in-reference TX-IN
--vote-plutus-script-v3
( --vote-plutus-script-v2
| --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
Expand Down Expand Up @@ -462,6 +464,7 @@ Available options:
--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-v2 Specify a plutus script v2 reference script.
--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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ Usage: cardano-cli conway transaction build-raw
)
--vote-execution-units (INT, INT)]
| --vote-tx-in-reference TX-IN
--vote-plutus-script-v3
( --vote-plutus-script-v2
| --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
Expand Down Expand Up @@ -446,6 +448,7 @@ Available options:
--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-v2 Specify a plutus script v2 reference script.
--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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ Usage: cardano-cli conway transaction build
| --vote-redeemer-value JSON_VALUE
]
| --vote-tx-in-reference TX-IN
--vote-plutus-script-v3
( --vote-plutus-script-v2
| --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
Expand Down Expand Up @@ -431,6 +433,7 @@ Available options:
--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-v2 Specify a plutus script v2 reference script.
--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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ Usage: cardano-cli latest transaction build-estimate
)
--vote-execution-units (INT, INT)]
| --vote-tx-in-reference TX-IN
--vote-plutus-script-v3
( --vote-plutus-script-v2
| --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
Expand Down Expand Up @@ -462,6 +464,7 @@ Available options:
--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-v2 Specify a plutus script v2 reference script.
--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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ Usage: cardano-cli latest transaction build-raw
)
--vote-execution-units (INT, INT)]
| --vote-tx-in-reference TX-IN
--vote-plutus-script-v3
( --vote-plutus-script-v2
| --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
Expand Down Expand Up @@ -446,6 +448,7 @@ Available options:
--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-v2 Specify a plutus script v2 reference script.
--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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ Usage: cardano-cli latest transaction build
| --vote-redeemer-value JSON_VALUE
]
| --vote-tx-in-reference TX-IN
--vote-plutus-script-v3
( --vote-plutus-script-v2
| --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
Expand Down Expand Up @@ -431,6 +433,7 @@ Available options:
--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-v2 Specify a plutus script v2 reference script.
--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
Expand Down

0 comments on commit 7f29e2f

Please sign in to comment.