Skip to content

Commit 5046f73

Browse files
authored
Merge pull request #2917 from IntersectMBO/fix_expected_cost_locking_v2
Fix expected cost for PlutusV2 locking scripts
2 parents eaa178d + e9c5b1f commit 5046f73

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

cardano_node_tests/tests/tests_plutus_v2/test_spend_build.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ def test_txout_locking(
6565
* create the necessary Tx outputs
6666
* spend the locked UTxO
6767
* check that the expected UTxOs were correctly spent
68+
* (optional) check transactions in db-sync
6869
"""
6970
temp_template = common.get_test_id(cluster)
7071
script_fund = 10_000_000
@@ -78,13 +79,13 @@ def test_txout_locking(
7879
per_space = 558_180
7980
fixed_cost = 44_802
8081
elif not use_reference_script and use_inline_datum:
81-
per_time = 140_633_161
82-
per_space = 452_332
83-
fixed_cost = 36_240
82+
per_time = 197_202_699
83+
per_space = 628_154
84+
fixed_cost = 50_463
8485
else:
85-
per_time = 143_683_623
86-
per_space = 461_854
87-
fixed_cost = 37_009
86+
per_time = 200_253_161
87+
per_space = 637_676
88+
fixed_cost = 51_233
8889

8990
plutus_op = plutus_common.PlutusOp(
9091
script_file=plutus_common.GUESSING_GAME["v2"].script_file,

0 commit comments

Comments
 (0)