Release Notes - v0.218.2
v0.218.2
Section titled “v0.218.2”Title: Improve transaction validation and ledger compatibility
Version: v0.218.2
This release improves transaction envelope handling, verification configuration, decoder strictness, genesis JSON compatibility, legacy Plutus translation, and Dijkstra performance.
Bug Fixes
Section titled “Bug Fixes”- Improved Alonzo-family transaction envelope handling by accepting canonical three-component envelopes without
IsValid, calculatingTxSizecanonically, classifying transaction eras more reliably, and rejecting malformed shiftedIsValidforms. - Corrected Byron bootstrap output attribute sizing to count decoded HD derivation-path payload bytes and unknown attribute values only, excluding CBOR framing, keys, and network magic while preserving the 64-byte limit.
- Tightened decoder validation by rejecting 64-bit CBOR map heads for Babbage outputs and Conway redeemers, requiring ascending Byron attribute keys, and applying version 12 bounded-rational checks to specified Dijkstra parameter fields.
- Counted stake registration deposits and deregistration refunds for phase 2 invalid Alonzo and Babbage transactions.
- Fixed bootstrap native-script witness hashes by using the Byron address root and skipping malformed roots.
- Revised genesis JSON validation and normalization for Shelley, Alonzo, and Conway to match the reference behavior. Genesis JSON now requires the specified fields and numeric bounds, supported aliases, correct handling of repeated keys, and canonical numeric forms.
- Rejected Babbage map-form outputs that omit address key
0or value key1, and confirmed the same requirement for Conway. - Aligned legacy Plutus V1 and V2 withdrawal ordering and Byron filtering, and added
GenesisKeyDelegationand MIR certificate translation.
Breaking Changes
Section titled “Breaking Changes”- Added
VerifyConfig.MaxKesEvolutionsandSkipKesEvolutionsValidation. Verification now requires an explicit nonzero KES configuration unless validation is skipped and enforces the ShelleymaxKESEvolutionsbound inVerifyBlock;VerifyBlockLocalremains unchanged.
Performance
Section titled “Performance”- Reduced allocations for cached Dijkstra transaction hashes without changing hash behavior.
Full Changelog: v0.218.1…v0.218.2
Release: v0.218.2
Docs authored by Doc Holiday