Release Notes - v0.10.1
v0.10.1
Section titled “v0.10.1”Title: Correct Plutus V4 evaluation and add scoped FLAT execution
Version: v0.10.1
Release: v0.10.1
Comparison: v0.10.0…v0.10.1
Recommended Network Compatibility ⚠️
Section titled “Recommended Network Compatibility ⚠️”| Network | Compatible |
|---|---|
| mainnet | ⛔ |
| preprod-testnet | ✅ |
| preview-testnet | ✅ |
| musashi | ✅ |
This release corrects Plutus V4 evaluation behavior, adds allocation scaling coverage, and provides a scoped FLAT execution path with explicit compatibility checks for callers.
Evaluator Compatibility
Section titled “Evaluator Compatibility”- Corrected Plutus V4
chooseDataevaluation to use six arguments, removed the V4 only seventhValuebranch, aligned builtin arity handling with the reference evaluator, and fixed six argument case applications. Scripts that depend on the removed seventhValuebranch now fail and require migration.
Allocation Safeguards
Section titled “Allocation Safeguards”- Added allocation scaling coverage for hexadecimal bytestrings, strings, escaped newlines, and nested pair literals; the test enforces an 8x allocation cap when inputs scale from 1x to 4x.
Scoped FLAT Execution
Section titled “Scoped FLAT Execution”- Introduced
cek.RunFlatfor scoped FLAT De Bruijn decoding and evaluation. It can skip full term structure validation for sufficiently small inputs, reports decoder scope errors, batches step budget accounting, caches repeatedUnConstrDataconversions and builtin force counts, tightens frame accounting, reworks structural validation budgets, and clears stale decoder arena references after failed decodes.RunFlatpreserves tested results, errors, and remainingExBudget; callers must check the ledger language, builtin availability, and execution-time program version before use.
Docs authored by Doc Holiday