Skip to content

v0.55.0

Compare
Choose a tag to compare
@xgreenx xgreenx released this 04 Jul 20:38
· 16 commits to master since this release
2604237

Version v0.55.0

Added

  • #781: Added base_asset_id to checked metadata.

Changed

  • #784: Avoid storage lookups for side nodes in the SMT.
  • #787: Fixed charge functions to profile cost before charging.

Breaking

  • #783: Remove unnecessary look up for old values by adding new methods to the StorageMutate trait. The old insert and remove are now replace and take. The new insert and remove don't return a value.
  • #783: Renamed methods of StorageWrite trait from write, replace, take to write_bytes, replace_bytes, take_bytes.
  • #788: Fix truncating sp to MEM_SIZE in grow_stack, and allow empty writes to zero-length ranges at $hp.

Fixed

Breaking

  • #789: Avoid conversion into usize type and use u32 or u64 instead. The change is breaking since could return other errors for 32-bit systems.
  • #786: Fixed the CCP opcode to charge for the length from the input arguments.
  • #785: Require ContractCreated output in the Create transaction. The TransactionBuilder<Create> has a add_contract_created method to simplify the creation of the ContractCreated output for tests.

What's Changed

  • Test ALU opcodes using only the external interface by @Dentosal in #754
  • Store the base asset id in the metadata by @xgreenx in #781
  • Use companies fork of the publish-crates action by @xgreenx in #782
  • Refactor coin-based contract instruction tests by @Dentosal in #779
  • Require ContractCreated output in the Create transaction by @xgreenx in #785
  • Fixed the CCP opcode to charge for the length of the input by @xgreenx in #786
  • Remove unnecessary look up for old values by @xgreenx in #783
  • Fixed charge functions to profile cost before charging by @xgreenx in #787
  • grow_stack and empty $hp range write fixes by @Dentosal in #788
  • Optimized storage lookups for side nodes in the SMT by @xgreenx in #784
  • Avoid conversion into usize type and use u32 or u64 instead by @xgreenx in #789
  • Release v0.55.0 by @xgreenx in #790

Full Changelog: v0.54.1...v0.55.0