Skip to content

14.1.2 Unordered order

Latest
Compare
Choose a tag to compare
@lisicky lisicky released this 15 May 14:52
· 15 commits to master since this release

Changes:

  • Credential definition
    Change script hash and key hash definition order in credential enum to respect cardano ledger behavior

  • CBOR parsing

    • Swapped assert!(len==2) for a proper Err(CustomError) on invalid array length
  • Transaction builders

    • with_asset_and_min_required_coin_by_utxo_cost refactored to:
      • take into account an output address
      • compute required ADA in one pass
  • Withdrawals

    • Swapped LinkedHashMapBTreeMap for deterministic ordering
    • Updated sort logic so script-withdrawals come before key-withdrawals in accordance with ledger implementation
  • Static assertions

    • Removed obsolete static_assert! in legacy_address/cbor.rs
  • Tests

    • correct withdrawal sorting order

Published

https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-browser/v/14.1.2
https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-nodejs/v/14.1.2
https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-asmjs/v/14.1.2
https://crates.io/crates/cardano-serialization-lib/14.1.2

Experimental packages with gc support

https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-nodejs-gc/v/14.1.2
https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-browser-gc/v/14.1.2
https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-asmjs-gc/v/14.1.2

Full Changelog: 14.1.1...14.1.2