Skip to content

13.2.0 Errors and Taxes

Latest
Compare
Choose a tag to compare
@lisicky lisicky released this 14 Nov 15:39
· 1 commit to master since this release

API Changes:

Transaction Fee Calculation Updates

  • set_fee() now sets a static fee that remains unchanged during change calculation
    • TransactionBuilder.build_tx() will emit an error if minimal possible fee exceeds specified fee
  • New set_min_fee() method added
    • Sets minimum fee threshold
    • If minimal possible fee is lower, uses the specified minimum fee value

Additional Validation

  • Added balance validation in build_tx()
  • Added collateral balance check in set_total_collateral_and_return()

Published

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

Experimental packages with gc support

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

Full Changelog: 13.1.0...13.2.0