Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Version 0.36.0
Changed
$hp
register is no longer restored to it's previous value when returning from a call, making it possible to return heap-allocated types fromCALL
.Breaking
ChainId
andGasCosts
toConsensusParameters
.Break down
ConsensusParameters
into sub-structs to match usage. Change signatures of functions to ask fornecessary fields only.
TRO
instruction now reverts when attempting to send zero coins to an output. Panic reason of thisTransferZeroCoins
, andTR
was changed to use the same panic reason as well.Fixed
#511: Changes multiple panic reasons to be more accurate, and internally refactors instruction fetch logic to be less error-prone.
#529 #534: Enforcing async WASM initialization for all NPM wrapper packages.
#531: UtxoId::from_str and TxPointer::from_str no longer crash on invalid input with multibyte characters. Also adds clippy lints to prevent future issues.
Breaking
What's Changed
ConsensusParameters
Serialize/Derserialize again by @MitchTurner in MakeConsensusParameters
Serialize/Derserialize again #526with_params
method for TxBuilder by @MitchTurner in Reimplementwith_params
method for TxBuilder #530transfer
andtransfer_output
by @MitchTurner in Add more test cases fortransfer
andtransfer_output
#535New Contributors
Full Changelog: v0.35.3...v0.36.0