@@ -109,6 +109,18 @@ prop_make_transaction_body_autobalance_return_correct_fee_for_multi_asset = H.pr
109109 contentWithTxoutAsset
110110 address
111111 Nothing
112+
113+ -- check if execution units have changed
114+ [ ExecutionUnits
115+ { executionSteps = 84_851_308
116+ , executionMemory = 325_610
117+ }
118+ ]
119+ === [ exUnits
120+ | (_, AnyScriptWitness (PlutusScriptWitness _ _ _ _ _ exUnits)) <-
121+ collectTxBodyScriptWitnesses sbe balancedContentWithTxoutAsset
122+ ]
123+
112124 -- the correct amount with manual balancing of assets
113125 335_299 === feeWithTxoutAsset
114126
@@ -128,6 +140,17 @@ prop_make_transaction_body_autobalance_return_correct_fee_for_multi_asset = H.pr
128140 address
129141 Nothing
130142
143+ -- check if execution units have changed
144+ [ ExecutionUnits
145+ { executionSteps = 84_851_308
146+ , executionMemory = 325_610
147+ }
148+ ]
149+ === [ exUnits
150+ | (_, AnyScriptWitness (PlutusScriptWitness _ _ _ _ _ exUnits)) <-
151+ collectTxBodyScriptWitnesses sbe balancedContent
152+ ]
153+
131154 H. noteShow_ feeWithTxoutAsset
132155 H. noteShow_ fee
133156 H. note_ " There are differences between fees for two autobalanced TxBodyContents. Diff:"
@@ -246,6 +269,17 @@ prop_make_transaction_body_autobalance_multi_asset_collateral = H.propertyOnce $
246269 address
247270 Nothing
248271
272+ -- check if execution units have changed
273+ [ ExecutionUnits
274+ { executionSteps = 84_851_308
275+ , executionMemory = 325_610
276+ }
277+ ]
278+ === [ exUnits
279+ | (_, AnyScriptWitness (PlutusScriptWitness _ _ _ _ _ exUnits)) <-
280+ collectTxBodyScriptWitnesses sbe balancedContent
281+ ]
282+
249283 335_299 === fee
250284 TxReturnCollateral _ (TxOut _ txOutValue _ _) <- H. noteShow $ txReturnCollateral balancedContent
251285 let assets = [a | a@ (AssetId _ _, _) <- toList $ txOutValueToValue txOutValue]
0 commit comments