Release Notes - v0.204.4
v0.204.4
Section titled “v0.204.4”Title: Normalize script-visible transaction data
Version: v0.204.4
This release normalizes datum and redeemer data before scripts receive it, aligning serialiseData output with cardano-ledger canonical encoding. The correction prevents execution failures when scripts encounter definite and indefinite length encoding mismatches while keeping DatumHash keys based on the original bytes.
🐛 Bug Fixes
Section titled “🐛 Bug Fixes”-
Fixed script-visible datum and redeemer encoding: Scripts now receive canonical encoding from common script contexts and script purpose data.
-
Refined inline datum rendering: V1 and V2 resolved inputs and Babbage inline datum payloads now expose normalized data.
-
Improved Conway script evaluation: Evaluation paths and ScriptContextV3 redeemers now use canonical script-visible encoding.
-
Normalized Dijkstra script data handling: V4 inline and guard datums and evaluation paths now normalize data before script execution.
-
Preserved datum hash identity:
DatumHashkeys continue to use the original datum bytes, even when script-visible data is normalized. -
Updated script data dependency: gOuroboros and its example modules now use plutigo v0.6.1 to provide the canonical normalization behavior.
-
Expanded normalization coverage: Tests and the Voting CBOR fixture now verify canonical script-visible data handling.
Release: v0.204.4
Compare: v0.204.3…v0.204.4
Docs authored by Doc Holiday