Skip to content

Commit

Permalink
Adapt golden files
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Jun 18, 2024
1 parent 882a417 commit 6762dbd
Show file tree
Hide file tree
Showing 16 changed files with 60 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
auxiliary scripts: null
certificates: null
collateral inputs: null
currentTreasuryValue: null
era: Allegra
fee: 100 Lovelace
governance actions: null
Expand All @@ -23,6 +24,7 @@ reference inputs: null
required signers (payment key hashes needed for scripts): null
return collateral: null
total collateral: null
treasuryDonation: null
update proposal: null
validity range:
lower bound: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ auxiliary scripts: null
certificates: null
collateral inputs:
- c9765d7d0e3955be8920e6d7a38e1f3f2032eac48c7c59b0b9193caa87727e7e#256
currentTreasuryValue: null
era: Alonzo
fee: 213 Lovelace
governance actions: null
Expand All @@ -17,6 +18,7 @@ required signers (payment key hashes needed for scripts):
- fafaaac8681b5050a8987f95bce4a7f99362f189879258fdbf733fa4
return collateral: null
total collateral: null
treasuryDonation: null
update proposal: null
validity range:
lower bound: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ auxiliary scripts: null
certificates: null
collateral inputs:
- c9765d7d0e3955be8920e6d7a38e1f3f2032eac48c7c59b0b9193caa87727e7e#256
currentTreasuryValue: null
era: Alonzo
fee: 213 Lovelace
governance actions: null
Expand All @@ -17,6 +18,7 @@ required signers (payment key hashes needed for scripts):
- fafaaac8681b5050a8987f95bce4a7f99362f189879258fdbf733fa4
return collateral: null
total collateral: null
treasuryDonation: null
update proposal:
epoch: 190
updates:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
auxiliary scripts: null
certificates: null
collateral inputs: []
currentTreasuryValue: null
era: Babbage
fee: 21300 Lovelace
governance actions: null
Expand Down Expand Up @@ -35,6 +36,7 @@ reference inputs: []
required signers (payment key hashes needed for scripts): null
return collateral: null
total collateral: null
treasuryDonation: null
update proposal: null
validity range:
lower bound: null
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
auxiliary scripts: null
certificates: null
collateral inputs: []
currentTreasuryValue: null
era: Babbage
fee: 21300 Lovelace
governance actions: null
Expand Down Expand Up @@ -68,6 +69,7 @@ reference inputs: []
required signers (payment key hashes needed for scripts): null
return collateral: null
total collateral: null
treasuryDonation: null
update proposal: null
validity range:
lower bound: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ auxiliary scripts: null
certificates: null
collateral inputs:
- c9765d7d0e3955be8920e6d7a38e1f3f2032eac48c7c59b0b9193caa87727e7e#256
currentTreasuryValue: null
era: Babbage
fee: 213 Lovelace
governance actions: null
Expand All @@ -20,6 +21,7 @@ reference inputs: []
required signers (payment key hashes needed for scripts): null
return collateral: null
total collateral: null
treasuryDonation: null
update proposal: null
validity range:
lower bound: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"auxiliary scripts": null,
"certificates": null,
"collateral inputs": [],
"currentTreasuryValue": null,
"era": "Conway",
"fee": "181517 Lovelace",
"governance actions": [
Expand Down Expand Up @@ -54,6 +55,7 @@
"required signers (payment key hashes needed for scripts)": null,
"return collateral": null,
"total collateral": null,
"treasuryDonation": 0,
"update proposal": null,
"validity range": {
"lower bound": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"auxiliary scripts": null,
"certificates": null,
"collateral inputs": [],
"currentTreasuryValue": null,
"era": "Conway",
"fee": "185433 Lovelace",
"governance actions": [],
Expand Down Expand Up @@ -30,6 +31,7 @@
"required signers (payment key hashes needed for scripts)": null,
"return collateral": null,
"total collateral": null,
"treasuryDonation": 0,
"update proposal": null,
"validity range": {
"lower bound": null,
Expand Down
10 changes: 10 additions & 0 deletions cardano-cli/test/cardano-cli-golden/files/golden/help.cli
Original file line number Diff line number Diff line change
Expand Up @@ -7834,6 +7834,8 @@ Usage: cardano-cli conway transaction build-raw
| --proposal-redeemer-value JSON_VALUE
)
--proposal-execution-units (INT, INT)]]]
[--current-treasury-value LOVELACE]
[--treasury-donation LOVELACE]
--out-file FILE

Build a transaction (low-level, inconvenient)
Expand Down Expand Up @@ -7967,6 +7969,8 @@ Usage: cardano-cli conway transaction build --socket-path SOCKET_PATH
| --proposal-redeemer-file JSON_FILE
| --proposal-redeemer-value JSON_VALUE
]]]
[--current-treasury-value LOVELACE]
[--treasury-donation LOVELACE]
( --out-file FILE
| --calculate-plutus-script-cost FILE
)
Expand Down Expand Up @@ -8116,6 +8120,8 @@ Usage: cardano-cli conway transaction build-estimate
| --proposal-redeemer-value JSON_VALUE
)
--proposal-execution-units (INT, INT)]]]
[--current-treasury-value LOVELACE]
[--treasury-donation LOVELACE]
--out-file FILE

Build a balanced transaction without access to a live node (automatically estimates fees)
Expand Down Expand Up @@ -10505,6 +10511,8 @@ Usage: cardano-cli legacy transaction build --socket-path SOCKET_PATH
| --proposal-redeemer-file JSON_FILE
| --proposal-redeemer-value JSON_VALUE
]]]
[--current-treasury-value LOVELACE]
[--treasury-donation LOVELACE]
( --out-file FILE
| --calculate-plutus-script-cost FILE
)
Expand Down Expand Up @@ -11736,6 +11744,8 @@ Usage: cardano-cli transaction build --socket-path SOCKET_PATH
| --proposal-redeemer-file JSON_FILE
| --proposal-redeemer-value JSON_VALUE
]]]
[--current-treasury-value LOVELACE]
[--treasury-donation LOVELACE]
( --out-file FILE
| --calculate-plutus-script-cost FILE
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ Usage: cardano-cli conway transaction build-estimate
| --proposal-redeemer-value JSON_VALUE
)
--proposal-execution-units (INT, INT)]]]
[--current-treasury-value LOVELACE]
[--treasury-donation LOVELACE]
--out-file FILE

Build a balanced transaction without access to a live node (automatically estimates fees)
Expand Down Expand Up @@ -450,5 +452,9 @@ Available options:
top-level strings and numbers.
--proposal-execution-units (INT, INT)
The time and space units needed by the script.
--current-treasury-value LOVELACE
The current treasury value.
--treasury-donation LOVELACE
The donation to the treasury to perform.
--out-file FILE Output filepath of the JSON TxBody.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ Usage: cardano-cli conway transaction build-raw
| --proposal-redeemer-value JSON_VALUE
)
--proposal-execution-units (INT, INT)]]]
[--current-treasury-value LOVELACE]
[--treasury-donation LOVELACE]
--out-file FILE

Build a transaction (low-level, inconvenient)
Expand Down Expand Up @@ -435,5 +437,9 @@ Available options:
top-level strings and numbers.
--proposal-execution-units (INT, INT)
The time and space units needed by the script.
--current-treasury-value LOVELACE
The current treasury value.
--treasury-donation LOVELACE
The donation to the treasury to perform.
--out-file FILE Output filepath of the JSON TxBody.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ Usage: cardano-cli conway transaction build --socket-path SOCKET_PATH
| --proposal-redeemer-file JSON_FILE
| --proposal-redeemer-value JSON_VALUE
]]]
[--current-treasury-value LOVELACE]
[--treasury-donation LOVELACE]
( --out-file FILE
| --calculate-plutus-script-cost FILE
)
Expand Down Expand Up @@ -420,6 +422,10 @@ Available options:
The script redeemer value. There is no schema:
(almost) any JSON value is supported, including
top-level strings and numbers.
--current-treasury-value LOVELACE
The current treasury value.
--treasury-donation LOVELACE
The donation to the treasury to perform.
--out-file FILE Output filepath of the JSON TxBody.
--calculate-plutus-script-cost FILE
(File () Out) filepath of the script cost
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ Usage: cardano-cli legacy transaction build --socket-path SOCKET_PATH
| --proposal-redeemer-file JSON_FILE
| --proposal-redeemer-value JSON_VALUE
]]]
[--current-treasury-value LOVELACE]
[--treasury-donation LOVELACE]
( --out-file FILE
| --calculate-plutus-script-cost FILE
)
Expand Down Expand Up @@ -434,6 +436,10 @@ Available options:
The script redeemer value. There is no schema:
(almost) any JSON value is supported, including
top-level strings and numbers.
--current-treasury-value LOVELACE
The current treasury value.
--treasury-donation LOVELACE
The donation to the treasury to perform.
--out-file FILE Output filepath of the JSON TxBody.
--calculate-plutus-script-cost FILE
(File () Out) filepath of the script cost
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ Usage: cardano-cli transaction build --socket-path SOCKET_PATH
| --proposal-redeemer-file JSON_FILE
| --proposal-redeemer-value JSON_VALUE
]]]
[--current-treasury-value LOVELACE]
[--treasury-donation LOVELACE]
( --out-file FILE
| --calculate-plutus-script-cost FILE
)
Expand Down Expand Up @@ -429,6 +431,10 @@ Available options:
The script redeemer value. There is no schema:
(almost) any JSON value is supported, including
top-level strings and numbers.
--current-treasury-value LOVELACE
The current treasury value.
--treasury-donation LOVELACE
The donation to the treasury to perform.
--out-file FILE Output filepath of the JSON TxBody.
--calculate-plutus-script-cost FILE
(File () Out) filepath of the script cost
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
auxiliary scripts: null
certificates: null
collateral inputs: null
currentTreasuryValue: null
era: Mary
fee: 139 Lovelace
governance actions: null
Expand Down Expand Up @@ -39,6 +40,7 @@ reference inputs: null
required signers (payment key hashes needed for scripts): null
return collateral: null
total collateral: null
treasuryDonation: null
update proposal: null
validity range:
lower bound: 140
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ certificates:
network: Mainnet
vrf: 8d445260282cef45e4c6a862b8a924aeed1b316ccba779dd39f9517220e96407
collateral inputs: null
currentTreasuryValue: null
era: Shelley
fee: 32 Lovelace
governance actions: null
Expand All @@ -52,6 +53,7 @@ reference inputs: null
required signers (payment key hashes needed for scripts): null
return collateral: null
total collateral: null
treasuryDonation: null
update proposal:
epoch: 64
updates:
Expand Down

0 comments on commit 6762dbd

Please sign in to comment.