Skip to content

refactor(plutus): refactor bitwise and batch6 script data definitions#3393

Merged
mkoura merged 1 commit intomasterfrom
plutus_builtin_cost_models
Apr 8, 2026
Merged

refactor(plutus): refactor bitwise and batch6 script data definitions#3393
mkoura merged 1 commit intomasterfrom
plutus_builtin_cost_models

Conversation

@mkoura
Copy link
Copy Markdown
Collaborator

@mkoura mkoura commented Apr 8, 2026

  • Replace individual PlutusScriptData definitions for bitwise and batch6 scripts with tuples of script metadata.
  • Generate PlutusScriptData instances dynamically from these tuples.
  • Add execution cost values for batch6 scripts, including new scripts for node >= 10.7.0.
  • Update SUCCEEDING_MINTING_BATCH6_SCRIPTS_V3 to use execution costs from metadata.
  • Adjust collateral calculation to ensure return collateral UTxO is above min UTxO value.
  • Add internal helper to dump Plutus script cost in test_mint_build.py.

- Replace individual PlutusScriptData definitions for bitwise and batch6 scripts with tuples of script metadata.
- Generate PlutusScriptData instances dynamically from these tuples.
- Add execution cost values for batch6 scripts, including new scripts for node >= 10.7.0.
- Update SUCCEEDING_MINTING_BATCH6_SCRIPTS_V3 to use execution costs from metadata.
- Adjust collateral calculation to ensure return collateral UTxO is above min UTxO value.
- Add internal helper to dump Plutus script cost in test_mint_build.py.
@mkoura mkoura requested a review from saratomaz as a code owner April 8, 2026 14:07
@mkoura mkoura merged commit 043fa6e into master Apr 8, 2026
2 checks passed
@mkoura mkoura deleted the plutus_builtin_cost_models branch April 8, 2026 14:18
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