Release Notes - v0.202.2
v0.202.2 (August 27, 2026)
Section titled “v0.202.2 (August 27, 2026)”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.
💪 Improvements
Section titled “💪 Improvements”-
Improved malformed transaction data handling:
ApplyTxError.UnmarshalCBORnow validates shortUtxowFailurearrays,OutsideValidityIntervalUtxo.Errorvalidates the decoded value type and length, andledger.GetTxBodiesrejects 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
nullforprev_hashin origin blocks and use the zero-valueBlake2b256, while retaining strict validation for non-null hashes and malformed encodings. -
Strengthened Byron trust and timing configuration validation:
ComputeGenesisWindowandNewGenesisSelectornow return errors. Network configuration validates security, coefficient, slot duration, epoch, KES, and related ranges; Byron validation rejects empty genesis trust roots withErrGenesisIssuerSetEmpty; andcbor.RatJSON decoding rejects zero denominators. Callers must handle the changed API signatures.
Compare: v0.202.1…v0.202.2
Docs authored by Doc Holiday