Skip to content

Release Notes - v0.204.3

Title: Align Dijkstra encoding and honor leadership ranges

Version: v0.204.3

Version 0.204.3 aligns Dijkstra block and protocol parameter encoding with the Leios prototype layout while making leadership searches honor caller-defined ranges, including large ranges and prompt cancellation.

  • Improved Dijkstra Leios compatibility: Dijkstra block bodies now emit the Leios prototype 2026w36 three element block_body layout, with each block_transaction encoded inline as four elements and a required trailing is_valid flag. Decoders accept both this layout and legacy four element bodies, translate legacy invalid transaction indexes into per transaction TxIsValid values, and preserve validated indexes. Dijkstra protocol parameter decoding accepts 35 field legacy and 46 field current arrays, rejects unsupported or indefinite arrays, and writes updates through CBOR map keys 38–48. Dijkstra genesis data includes Leios fields and maps PlutusV4CostModel to CostModels[3].

  • Expanded leadership range searches: FindNextSlotLeadershipContext now searches the caller’s full inclusive range, so large ranges no longer fail at one million slots. Per slot context cancellation returns context.Canceled, while invalid range checks and overflow safe maximum slot termination remain.

  • Updated Dijkstra block body consumers: Consumers that accept only the previous encoding must update their decoders before processing newly marshaled blocks.

  • Removed consensus.MaxLeadershipSearchSlots: Code that references this exported constant must replace that reference with the caller supplied range.

NetworkCompatible
mainnet
preprod-testnet
preview-testnet
musashi

Release: v0.204.3

Compare: v0.204.2…v0.204.3


Doc Holiday logo

Docs authored by Doc Holiday

Edit page

Last updated: