@@ -40,13 +40,6 @@ import System.Directory (makeAbsolute)
40
40
import System.FilePath ((</>) )
41
41
import qualified System.Info as SYS
42
42
43
- import Hedgehog (Property )
44
- import qualified Hedgehog as H
45
- import qualified Hedgehog.Extras.Test.Base as H
46
- import qualified Hedgehog.Extras.Test.File as H
47
- import qualified Hedgehog.Extras.Test.Golden as H
48
- import qualified Hedgehog.Extras.Test.TestWatchdog as H
49
-
50
43
import Testnet.Components.Query (findLargestUtxoForPaymentKey , getEpochStateView , getTxIx ,
51
44
watchEpochStateUpdate )
52
45
import Testnet.Process.Cli.Transaction (TxOutAddress (.. ), mkSpendOutputsOnlyTx ,
@@ -57,6 +50,13 @@ import Testnet.Start.Types (eraToString)
57
50
import Testnet.Types (PaymentKeyInfo (paymentKeyInfoAddr ), paymentKeyInfoPair ,
58
51
verificationKey )
59
52
53
+ import Hedgehog (Property )
54
+ import qualified Hedgehog as H
55
+ import qualified Hedgehog.Extras.Test.Base as H
56
+ import qualified Hedgehog.Extras.Test.File as H
57
+ import qualified Hedgehog.Extras.Test.Golden as H
58
+ import qualified Hedgehog.Extras.Test.TestWatchdog as H
59
+
60
60
-- @DISABLE_RETRIES=1 cabal run cardano-testnet-test -- -p "/Spec.hs.Spec.Ledger Events.Plutus.Cost Calc.Ref Script/"@
61
61
hprop_ref_plutus_cost_calculation :: Property
62
62
hprop_ref_plutus_cost_calculation = integrationRetryWorkspace 2 " ref plutus script" $ \ tempAbsBasePath' -> H. runWithDefaultWatchdog_ $ do
@@ -183,7 +183,7 @@ hprop_ref_plutus_cost_calculation = integrationRetryWorkspace 2 "ref plutus scri
183
183
execCli'
184
184
execConfig
185
185
[ eraName
186
- , " transaction" , " calculate-plutus-script-cost"
186
+ , " transaction" , " calculate-plutus-script-cost" , " online "
187
187
, " --tx-file" , unFile signedUnlockTx
188
188
, " --out-file" , unFile txCostOutput
189
189
]
@@ -199,7 +199,7 @@ hprop_ref_plutus_cost_calculation = integrationRetryWorkspace 2 "ref plutus scri
199
199
execCli'
200
200
execConfig
201
201
[ eraName
202
- , " transaction" , " calculate-plutus-script-cost"
202
+ , " transaction" , " calculate-plutus-script-cost" , " online "
203
203
, " --tx-file" , unFile signedUnlockTx
204
204
]
205
205
@@ -306,7 +306,7 @@ hprop_included_plutus_cost_calculation = integrationRetryWorkspace 2 "included p
306
306
execCli'
307
307
execConfig
308
308
[ eraName
309
- , " transaction" , " calculate-plutus-script-cost"
309
+ , " transaction" , " calculate-plutus-script-cost" , " online "
310
310
, " --tx-file" , unFile signedIncludedScript
311
311
, " --out-file" , unFile includedScriptCostOutput
312
312
]
@@ -421,7 +421,7 @@ hprop_included_simple_script_cost_calculation = integrationRetryWorkspace 2 "inc
421
421
execCli'
422
422
execConfig
423
423
[ eraName
424
- , " transaction" , " calculate-plutus-script-cost"
424
+ , " transaction" , " calculate-plutus-script-cost" , " online "
425
425
, " --tx-file" , unFile signedScriptUnlock
426
426
]
427
427
0 commit comments