github Emurgo/cardano-serialization-lib 9.0.0

latest releases: 15.0.3, 12.0.3, 15.0.2...
4 years ago

Milestone: https://github.com/Emurgo/cardano-serialization-lib/milestone/3?closed=1

Breaking change: TransactionBuilder.new required two new parameters for max-value-size and max-tx-size (in bytes). It will now use these parameters to not only assert when the tx itself is out of bounds and cannot be built or when an out-of-bounds output is being added, but it also performs a safer change construction, breaking it into multiple outputs in case there are too many native assets.

See this PR for reference: #187

NOTE: maximum transaction and output sizes are protocol parameters that might change!

Current values at the time of this release are:

  1. maxTxSize was defined at the Shelley era = 16384 bytes (see here)
  2. maxValueSize was defined at the Alonzo era = 5000 bytes (see here)

Don't miss a new cardano-serialization-lib release

NewReleases is sending notifications on new releases.