sc 0.64.2, chain 0.21.2, sdk 0.14.2
·
199 commits
to master
since this release
- Workaround for
mBufferFromBigIntSignedVM hook bug:- The hook was incorrectly converting negative numbers to their absolute value;
- The
mBufferToBigIntSignedVM hook has been added to the deprecated hooks list; - Fixed a related bug in the Rust VM, also pertaining to negative numbers, in
mb_to_small_int_signed(mBufferFromSmallIntSigned).
- VM: added ESDT metadata recreate and metadata update mock built-in functions.
- Upgraded
multiversx-chain-vm-executorto v0.5.1.- Contains upgrade to Wasmer 6.1.0 (wasmer-experimental);
- This fixes and issue with wasmer-prod and wasmer-experimental builds on Linux for certain versions of Rust.
- Big number improvements:
BigInt/BigUintproportionandinto_proportionmethods, for computingself * part / totalefficiently, with overflow checks.BigUint::into_non_zero_or_panicmethod.BigUint::new_uncheckedunsafe constructor fromBigInt.BigInt::overwrite_i64now takes&mut selfinstead of&self.
- New
FungiblePaymenttype, representing a payment with aTokenIdand aNonZeroBigUintamount (no nonce). IncludesManagedVecItem,TypeAbi, and codec implementations. - sc-meta improvements:
- Added
--lockedCLI flag support; - Build error messages now include the full command that was executed.
- Added
- Storage mapper documentation improvements across all mappers.
- Derive substitution list fix:
RefandManagedVecRefno longer incorrectly listed as having an API generic.