v0.52.0
What's Changed
- feat!: improve transaction builders wrt
TxPolicies
by @hal3e in #1212 - chore: bump
fuel-core
andfuel-vm
by @hal3e in #1214 - Bump versions to 0.52.0 by @digorithm in #1218
Full Changelog: v0.51.0...v0.52.0
Breaking changes
ScriptTransactionBuilder
andCreateTransactionBuilder
do not havewith_maturity
andwith_gas_price
, (with_gas_limit
). They are set through the with_tx_policies method;- Maturity is not set to 0 by default - instead, we use an
Option<u64>
andNone
if it was not set. This saves bytes as it is not serialized ifNone
; WitnessLimit
is set to the size of all witnesses in the builder. If the user usesappend_witnesses
after finalizing the transaction, a new error will be returned that helps the user set the witness limit manually.