Skip to content

sc 0.64.2, chain 0.21.2, sdk 0.14.2

Choose a tag to compare

@andrei-marinica andrei-marinica released this 18 Feb 09:49
· 199 commits to master since this release
v0.64.2
1492b37
  • Workaround for mBufferFromBigIntSigned VM hook bug:
    • The hook was incorrectly converting negative numbers to their absolute value;
    • The mBufferToBigIntSigned VM 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-executor to 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/BigUint proportion and into_proportion methods, for computing self * part / total efficiently, with overflow checks.
    • BigUint::into_non_zero_or_panic method.
    • BigUint::new_unchecked unsafe constructor from BigInt.
    • BigInt::overwrite_i64 now takes &mut self instead of &self.
  • New FungiblePayment type, representing a payment with a TokenId and a NonZeroBigUint amount (no nonce). Includes ManagedVecItem, TypeAbi, and codec implementations.
  • sc-meta improvements:
    • Added --locked CLI flag support;
    • Build error messages now include the full command that was executed.
  • Storage mapper documentation improvements across all mappers.
  • Derive substitution list fix: Ref and ManagedVecRef no longer incorrectly listed as having an API generic.