Skip to content

Release Notes - v0.202.2

Title: Improve ledger decoding and consensus validation

Date: August 27, 2026

Version: v0.202.2

This release improves ledger decoding for malformed transaction data and origin blocks, and strengthens validation for Byron trust and timing configuration.

  • Improved malformed transaction data handling: ApplyTxError.UnmarshalCBOR now validates short UtxowFailure arrays, OutsideValidityIntervalUtxo.Error validates the decoded value type and length, and ledger.GetTxBodies rejects empty transaction rows before indexing. These checks return descriptive errors instead of panicking, and regression tests cover malformed shapes.

  • Corrected origin header decoding: Shelley, Allegra, Mary, and Alonzo header-body decoders now accept CBOR null for prev_hash in origin blocks and use the zero-value Blake2b256, while retaining strict validation for non-null hashes and malformed encodings.

  • Strengthened Byron trust and timing configuration validation: ComputeGenesisWindow and NewGenesisSelector now return errors. Network configuration validates security, coefficient, slot duration, epoch, KES, and related ranges; Byron validation rejects empty genesis trust roots with ErrGenesisIssuerSetEmpty; and cbor.Rat JSON decoding rejects zero denominators. Callers must handle the changed API signatures.

Compare: v0.202.1…v0.202.2


Doc Holiday logo

Docs authored by Doc Holiday

Edit page

Last updated: