Skip to content

fix(tests): update costs in test_txout_locking - #3587

Merged
mkoura merged 1 commit into
masterfrom
txout_locking_costs
Aug 5, 2026
Merged

fix(tests): update costs in test_txout_locking#3587
mkoura merged 1 commit into
masterfrom
txout_locking_costs

Conversation

@mkoura

@mkoura mkoura commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

The mainnet cost models synced in commit 6bd75e7 made Plutus script execution ~20% cheaper, but the inline execution cost values in test_txout_locking were not recalibrated. The db-sync redeemer check compares execution units exactly, so the script_file combinations failed against node 11.0.1.

Set all four combinations to values observed on a local testnet running the mainnet cost models.

The mainnet cost models synced in commit 6bd75e7 made Plutus script
execution ~20% cheaper, but the inline execution cost values in
test_txout_locking were not recalibrated. The db-sync redeemer check
compares execution units exactly, so the script_file combinations
failed against node 11.0.1.

Set all four combinations to values observed on a local testnet
running the mainnet cost models.
@mkoura
mkoura requested a review from saratomaz as a code owner August 5, 2026 15:25
@mkoura
mkoura merged commit fef20a8 into master Aug 5, 2026
3 checks passed
@mkoura
mkoura deleted the txout_locking_costs branch August 5, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant