Skip to content

9.0.0

Compare
Choose a tag to compare
@vsubhuman vsubhuman released this 19 Sep 12:37
· 1236 commits to master since this release

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)