Skip to content

Commit 31d524c

Browse files
committed
stuff
1 parent 3bb936d commit 31d524c

File tree

1 file changed

+0
-41
lines changed
  • cardano-cli/test/cardano-cli-golden/Test/Golden

1 file changed

+0
-41
lines changed

cardano-cli/test/cardano-cli-golden/Test/Golden/TxView.hs

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -91,47 +91,6 @@ hprop_golden_view_babbage_yaml =
9191
["debug", "transaction", "view", "--tx-body-file", transactionBodyFile, "--output-yaml"]
9292
H.diffVsGoldenFile result $ goldenDir </> "alonzo/transaction-view.out"
9393

94-
hprop_golden_view_redeemer :: Property
95-
hprop_golden_view_redeemer = do
96-
propertyOnce $
97-
moduleWorkspace "tmp" $ \tempDir -> do
98-
transactionBodyFile <- noteTempFile tempDir "transaction-body-file"
99-
scriptTxBody transactionBodyFile
100-
101-
-- View transaction body
102-
result <-
103-
execCardanoCLI
104-
["debug", "transaction", "view", "--tx-body-file", transactionBodyFile, "--output-yaml"]
105-
106-
H.diffVsGoldenFile result $ goldenDir </> "conway/transaction-view-redeemer.out"
107-
where
108-
scriptTxBody :: FilePath -> Integration ()
109-
scriptTxBody transactionBodyFile =
110-
void $
111-
execCardanoCLI
112-
[ "conway"
113-
, "transaction"
114-
, "build-raw"
115-
, "--tx-in"
116-
, "ed7c8f68c194cc763ee65ad22ef0973e26481be058c65005fd39fb93f9c43a20#213"
117-
, "--tx-in-datum-value"
118-
, "6666"
119-
, "--tx-in-redeemer-value"
120-
, "42"
121-
, "--tx-in-script-file"
122-
, inputDir </> "AlwaysSucceeds.plutus"
123-
, "--tx-in-execution-units"
124-
, "(100, 200)"
125-
, "--tx-in-collateral"
126-
, "c9765d7d0e3955be8920e6d7a38e1f3f2032eac48c7c59b0b9193caa87727e7e#256"
127-
, "--protocol-params-file"
128-
, inputDir </> "conway/transaction-calculate-min-fee/protocol-params.json"
129-
, "--fee"
130-
, "213"
131-
, "--out-file"
132-
, transactionBodyFile
133-
]
134-
13594
-- | Test metadata format
13695
hprop_golden_view_metadata :: Property
13796
hprop_golden_view_metadata = propertyOnce $ moduleWorkspace "tmp" $ \tempDir -> do

0 commit comments

Comments
 (0)