Skip to content

Commit 02f0bf0

Browse files
committed
stuff
1 parent 31d524c commit 02f0bf0

File tree

7 files changed

+31
-37
lines changed

7 files changed

+31
-37
lines changed

cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Build.hs

Lines changed: 6 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ hprop_golden_shelley_transaction_build =
2929

3030
void $
3131
execCardanoCLI
32-
[ "babbage"
32+
[ "conway"
3333
, "transaction"
3434
, "build-raw"
3535
, "--tx-in"
@@ -45,37 +45,6 @@ hprop_golden_shelley_transaction_build =
4545
goldenFile <- H.note "test/cardano-cli-golden/files/golden/shelley/build-raw-tx-body-out-1.json"
4646
H.diffFileVsGoldenFile txBodyOutFile goldenFile
4747

48-
hprop_golden_shelley_transaction_build_certificate_script_witnessed :: Property
49-
hprop_golden_shelley_transaction_build_certificate_script_witnessed =
50-
propertyOnce $ H.moduleWorkspace "tmp" $ \tempDir -> do
51-
let deregcert =
52-
"test/cardano-cli-golden/files/input/shelley/certificates/stake_address_deregistration_certificate"
53-
scriptWit = "test/cardano-cli-golden/files/input/shelley/multisig/scripts/any"
54-
55-
txBodyOutFile <- noteTempFile tempDir "tx-body-out"
56-
57-
void $
58-
execCardanoCLI
59-
[ "babbage"
60-
, "transaction"
61-
, "build-raw"
62-
, "--tx-in"
63-
, txIn
64-
, "--tx-out"
65-
, txOut
66-
, "--certificate-file"
67-
, deregcert
68-
, "--certificate-script-file"
69-
, scriptWit
70-
, "--fee"
71-
, "12"
72-
, "--tx-body-file"
73-
, txBodyOutFile
74-
]
75-
76-
goldenFile <- H.note "test/cardano-cli-golden/files/golden/shelley/build-raw-tx-body-out-2.json"
77-
H.diffFileVsGoldenFile txBodyOutFile goldenFile
78-
7948
hprop_golden_shelley_transaction_build_minting :: Property
8049
hprop_golden_shelley_transaction_build_minting =
8150
propertyOnce $ H.moduleWorkspace "tmp" $ \tempDir -> do
@@ -98,7 +67,7 @@ hprop_golden_shelley_transaction_build_minting =
9867

9968
void $
10069
execCardanoCLI
101-
[ "babbage"
70+
[ "conway"
10271
, "transaction"
10372
, "build-raw"
10473
, "--tx-in"
@@ -131,7 +100,7 @@ hprop_golden_shelley_transaction_build_withdrawal_script_witnessed =
131100

132101
void $
133102
execCardanoCLI
134-
[ "babbage"
103+
[ "conway"
135104
, "transaction"
136105
, "build-raw"
137106
, "--tx-in"
@@ -160,7 +129,7 @@ hprop_golden_shelley_transaction_build_txin_script_witnessed =
160129

161130
void $
162131
execCardanoCLI
163-
[ "babbage"
132+
[ "conway"
164133
, "transaction"
165134
, "build-raw"
166135
, "--tx-in"
@@ -181,13 +150,13 @@ hprop_golden_shelley_transaction_build_txin_script_witnessed =
181150
hprop_golden_shelley_transaction_build_txout_inline_datum :: Property
182151
hprop_golden_shelley_transaction_build_txout_inline_datum =
183152
propertyOnce $ H.moduleWorkspace "tmp" $ \tempDir -> do
184-
let datum = "test/cardano-cli-golden/files/input/babbage/42.datum"
153+
let datum = "test/cardano-cli-golden/files/input/conway/42.datum"
185154

186155
txBodyOutFile <- noteTempFile tempDir "tx-body-out"
187156

188157
void $
189158
execCardanoCLI
190-
[ "babbage"
159+
[ "conway"
191160
, "transaction"
192161
, "build-raw"
193162
, "--tx-in"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "Tx ConwayEra",
3+
"description": "Ledger Cddl Format",
4+
"cborHex": "84a300d90102818258202392d2b1200b5139fe555c81261697b29a8ccf561c5c783d46e78a479d977053000181825839016b837ca50316ee4e00033482ed128887d72c2bae5b0438d692dc1251b0c8b17595ebdb93c1f974be0a9b1ef26c474649d9c2ae766ed135cf1864020ca0f5f6"
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "Tx ConwayEra",
3+
"description": "Ledger Cddl Format",
4+
"cborHex": "84a400d90102818258202392d2b1200b5139fe555c81261697b29a8ccf561c5c783d46e78a479d977053000181825839016b837ca50316ee4e00033482ed128887d72c2bae5b0438d692dc1251b0c8b17595ebdb93c1f974be0a9b1ef26c474649d9c2ae766ed135cf821864a1581c69596718df8203759c0f9e86f3f79d1dd45bc9d34109a4fccc824e02a148657468657265756d1832020c09a1581c69596718df8203759c0f9e86f3f79d1dd45bc9d34109a4fccc824e02a148657468657265756d1832a101d90102818202868200581cd92b712d1882c3b0f75b6f677e0b2cbef4fbc8b8121bb9dde324ff098200581c4d780ed1bfc88cbd4da3f48de91fe728c3530d662564bf5a284b53218200581c3a94d6d4e786a3f5d439939cafc0536f6abc324fb8404084d6034bf88200581cb12e094d1db7c0fba5121f22db193d0060efed8be43654f861bb68ae8200581c9be49d56442b4b8b16cab4e43e238bbdefc6c803d554c82fcd5facc38200581c622be5fab3b5c3f371a50a535e4d3349c942a98cecee93b24e2fd11df5f6"
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "Tx ConwayEra",
3+
"description": "Ledger Cddl Format",
4+
"cborHex": "84a400d90102818258202392d2b1200b5139fe555c81261697b29a8ccf561c5c783d46e78a479d977053000181825839016b837ca50316ee4e00033482ed128887d72c2bae5b0438d692dc1251b0c8b17595ebdb93c1f974be0a9b1ef26c474649d9c2ae766ed135cf1864020c05a1581de181b4245f84593f63c0ff2296930254f77a0690fa9de5f969cac27cb01864a101d90102818202868200581cd92b712d1882c3b0f75b6f677e0b2cbef4fbc8b8121bb9dde324ff098200581c4d780ed1bfc88cbd4da3f48de91fe728c3530d662564bf5a284b53218200581c3a94d6d4e786a3f5d439939cafc0536f6abc324fb8404084d6034bf88200581cb12e094d1db7c0fba5121f22db193d0060efed8be43654f861bb68ae8200581c9be49d56442b4b8b16cab4e43e238bbdefc6c803d554c82fcd5facc38200581c622be5fab3b5c3f371a50a535e4d3349c942a98cecee93b24e2fd11df5f6"
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "Tx ConwayEra",
3+
"description": "Ledger Cddl Format",
4+
"cborHex": "84a300d90102818258202392d2b1200b5139fe555c81261697b29a8ccf561c5c783d46e78a479d977053000181825839016b837ca50316ee4e00033482ed128887d72c2bae5b0438d692dc1251b0c8b17595ebdb93c1f974be0a9b1ef26c474649d9c2ae766ed135cf1864020ca101d90102818202868200581cd92b712d1882c3b0f75b6f677e0b2cbef4fbc8b8121bb9dde324ff098200581c4d780ed1bfc88cbd4da3f48de91fe728c3530d662564bf5a284b53218200581c3a94d6d4e786a3f5d439939cafc0536f6abc324fb8404084d6034bf88200581cb12e094d1db7c0fba5121f22db193d0060efed8be43654f861bb68ae8200581c9be49d56442b4b8b16cab4e43e238bbdefc6c803d554c82fcd5facc38200581c622be5fab3b5c3f371a50a535e4d3349c942a98cecee93b24e2fd11df5f6"
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "Tx ConwayEra",
3+
"description": "Ledger Cddl Format",
4+
"cborHex": "84a300d90102818258202392d2b1200b5139fe555c81261697b29a8ccf561c5c783d46e78a479d977053000181a3005839016b837ca50316ee4e00033482ed128887d72c2bae5b0438d692dc1251b0c8b17595ebdb93c1f974be0a9b1ef26c474649d9c2ae766ed135cf011864028201d81842182a020ca0f5f6"
5+
}

0 commit comments

Comments
 (0)