Release Notes - v0.10.0
v0.10.0
Section titled “v0.10.0”Title: Harden evaluator and align Plutigo with PV11
Version: v0.10.0
Release: v0.10.0
Comparison: v0.9.11…v0.10.0
Recommended Network Compatibility ⚠️
Section titled “Recommended Network Compatibility ⚠️”| Network | Compatible |
|---|---|
| mainnet | ⛔ |
| preprod-testnet | ✅ |
| preview-testnet | ✅ |
| musashi | ✅ |
This release strengthens evaluation and data processing against resource exhaustion and consensus divergence, and verifies conformance against cardano-node 11.1.3 (PV11). It also gives integrations migration options and updates the btcec/v2 dependency without changing runtime behavior.
Evaluator Security and Conformance
Section titled “Evaluator Security and Conformance”- Strengthened evaluator resilience against resource exhaustion and consensus divergence with panic recovery and
RunScriptContextbased evaluation. - Added zero width FLAT memoization plus lexer, parser, and FLAT varint limits to bound resource use during script processing.
- Introduced structurally shared
Valuehelpers and persistent runtime lists to make evaluation more robust. - Enforced libsodium strict Ed25519 verification for consistent signature validation.
- Applied PV11 bounded builtin arguments and charge then check budget semantics, including piecewise costs for data and list operations.
- Batched De Bruijn slippage with
DefaultSlippage=200to improve evaluation consistency.
Data Processing
Section titled “Data Processing”- Refined CBOR handling with iterative decoding and walking so deeply nested data can be processed without relying on recursive traversal.
- Rejected CBOR tag
1401and long head bignum tags by default to prevent unsupported representations from entering data processing. - Capped JSON input size and integer digit count, and exposed options to configure those limits.
- Tightened
IntegerandByteStringCBOR unmarshalling to enforce stricter input validation. - Enabled single item CBOR decoding that can ignore trailing bytes when an input contains additional data after the first item.
Evaluation and Integration
Section titled “Evaluation and Integration”- Added unit result checking that validates the final result without expanding it.
- Reported token
Valueoverflow so integrations can detect values that exceed supported bounds. - Updated evaluation entry points to use
RunScriptContextfor context aware script execution. - Normalized datums and redeemers through
data.Normalizebefore evaluation to provide a consistent representation. - Adjusted integration handling for stricter CBOR decoding, including the default rejection of unsupported tags and bounded JSON input.
- Reinterpreted
BudgetErrorfields to reflect charge then check budget semantics and the release’s piecewise data and list costs.
Dependency Maintenance
Section titled “Dependency Maintenance”- Refreshed
github.com/btcsuite/btcd/btcec/v2fromv2.5.0tov2.5.1, along with the correspondinggo.modandgo.sumentries. - Aligned the indirect
secp256k1/v4dependency fromv4.4.0tov4.4.1without changing runtime behavior.
Docs authored by Doc Holiday