Release Notes - v0.204.5
v0.204.5
Section titled “v0.204.5”Title: Normalize script data and strengthen protocol decoding
Version: v0.204.5
This release normalizes script data across Plutus evaluation paths, strengthens UTxO-RPC and LocalStateQuery decoding, and stabilizes project maintenance and test fixtures.
🐛 Bug Fixes
Section titled “🐛 Bug Fixes”-
Fixed data at script boundaries: Script contexts and script inputs now pass datums, redeemers, inline datums, and Dijkstra required guard datums to scripts in the canonical CBOR form produced by
serialiseData. -
Corrected UTxO-RPC protocol conversions: Zero-based cost-model mapping retains Plutus V1, protocol parameters retain Conway governance fields, and rational and committee conversions handle nil values and out-of-range values safely.
-
Improved encoding compatibility during evaluation: V1 and V2 evaluation and V3
ScriptContextconstruction now pass script-visible datums and redeemers consistently when input CBOR uses definite or indefinite lengths; regression tests cover both forms. -
Stabilized Dijkstra test formatting: A missing trailing newline no longer causes
gofmtandmake formatchecks to report unnecessary changes. -
Clarified commenting guidance:
AGENTS.mdnow documents when to explain invariants, non-obvious algorithms, gotchas, exported identifiers, andNOTEcomments. -
Added LocalStateQuery block number decoding:
GetChainBlockNohandles the origin response[0]and non-origin response[1, blockNo], while rejecting malformed CBOR and values outside int64. -
Refined validity range fixtures: Test comments now explain the validity range cases without changing runtime behavior.
Release: v0.204.5
Compare: v0.204.4…v0.204.5
Docs authored by Doc Holiday