Release Notes - v0.11.0
v0.11.0
Section titled “v0.11.0”Title: Improve evaluation efficiency and program reuse
Version: v0.11.0
Release: v0.11.0
Comparison: v0.10.2…v0.11.0
Recommended Network Compatibility ⚠️
Section titled “Recommended Network Compatibility ⚠️”| Network | Compatible |
|---|---|
| mainnet | ⛔ |
| preprod-testnet | ✅ |
| preview-testnet | ✅ |
| musashi | ✅ |
This release improves evaluation performance, enables reusable validated programs, changes cancellation polling timing, and updates CBOR support.
Improve Quadratic Cost Evaluation
Section titled “Improve Quadratic Cost Evaluation”- Improved bounded integer cost calculations for
divideIntegeroperations with a fast 64-bit path. Larger inputs use arbitrary precision arithmetic, and the evaluator caps results at 64-bit limits when required, preserving behavior for out-of-range inputs while avoiding per-call arbitrary precision allocations in typical calculations.
Reuse Prepared Programs
Section titled “Reuse Prepared Programs”- Added
cek.PrepareProgram,cek.PrepareDecodedProgram, andcek.RunPreparedScriptContextso repeated script evaluations can reuse immutable validated programs. When scope modes, argument chain depths, and work limits remain compatible, evaluations skip repeated structure and scope checks while preserving outcomes, errors, budgets, and PV11/PV12 scope behavior. Prepared programs also support concurrent reuse.
Adjust Cancellation Polling
Section titled “Adjust Cancellation Polling”- Refined cancellation handling during context-aware evaluation. The evaluator checks cancellation after charging each slippage-sized step batch, which reduces polling overhead and preserves budget accounting. Cancellation can arrive later than before, and the evaluator charges executed costs before returning.
Update CBOR Support
Section titled “Update CBOR Support”- Updated CBOR support to version
2.10.0, bringing upstream performance, allocation, and bug fixes along with thetoindefarraytag option.
Docs authored by Doc Holiday