Skip to content

Release Notes - v0.9.7

Title: Normalize UPLC Value constants

Version: v0.9.7

Release: v0.9.7

Comparison: v0.9.6…v0.9.7

NetworkCompatible
mainnet⛔
preprod-testnet✅
preview-testnet✅
musashi✅

This release normalizes non-canonical UPLC Value constants during text parsing, FLAT decoding, and syn.NewValue construction.

  • Improved text parsing, FLAT decoding, and syn.NewValue so each accepts unsorted policy and token entries, duplicate policy IDs and token IDs, empty token and policy lists, and zero-quantity entries rather than rejecting these non-canonical forms.
  • Refined normalization by merging duplicate policy IDs and token IDs through quantity addition, sorting policy and token keys lexicographically, removing zero-total tokens and empty policies, and enforcing key-length and signed 128-bit quantity bounds, including after merges.
  • Expanded decoding across owned and arena-backed paths while preserving arena allocation behavior.

Doc Holiday logo

Docs authored by Doc Holiday

Edit page

Last updated: