Skip to content

Releases: FuelLabs/fuel-vm

v0.57.1

26 Sep 18:19
ee72b8d
Compare
Choose a tag to compare

Version v0.57.1

Fixed

  • #835: Fixing WASM-NPM packaging and publishing

What's Changed

Full Changelog: v0.57.0...v0.57.1

v0.57.0

17 Sep 08:55
4718845
Compare
Choose a tag to compare

Version v0.57.0

Added

  • #670: Add DA compression functionality to Transaction and any types within
  • #733: Add LibAFL based fuzzer and update secp256k1 version to 0.29.1.
  • #825: Avoid leaking partially allocated memory when array deserialization fails

Changed

  • #824: Use self instead of &self during decompression.
  • #823: Returned the old behaviour of the json serialization for policies.

Breaking

  • #826: Skip the panic reason from canonical serialization of the panic receipt.
  • #821: Added block_transaction_size_limit to ConsensusParameters. It adds a new ConensusParametersV2 as a variant of the ConsensusParameters.
  • #670: The predicate field of fuel_tx::input::Coin is now a wrapper struct PredicateCode.

Fixed

  • #822: Return recipient as an owner for the message inputs.

What's Changed

New Contributors

Full Changelog: v0.56.0...v0.57.0

v0.56.0

27 Jul 02:57
7366db6
Compare
Choose a tag to compare

Version 0.56.0

Added

  • #796: Added implementation of the MerkleRootStorage for references.

Breaking

  • #780: Added Blob transaction, and BSIZ and BLDD instructions. Also allows LDC to load blobs.
  • #795: Fixed ed19 instruction to take variable length message instead of a fixed-length one. Changed the gas cost to be DependentCost.

v0.55.0

04 Jul 20:38
2604237
Compare
Choose a tag to compare

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

v0.54.1

16 Jun 17:42
0e46d32
Compare
Choose a tag to compare

Version v0.54.1

Changed

  • #776: Charge for max length in LDC opcode.

What's Changed

Full Changelog: v0.54.0...v0.54.1

v0.54.0

15 Jun 21:08
9d7dd97
Compare
Choose a tag to compare

Version v0.54.0

Added

  • #770: Cache contract inputs in the VM.

Changed

  • #768: Charge for LDC opcode before loading the contract into memory.

  • #771: Take into account spent gas during synchronous predicates estimation.

Breaking

  • #769: Use DependentCost for CFE and CFEI opcodes.
  • #767: Fixed no zeroing malleable fields for Create transaction.
  • #765: Corrected the gas units for WDOP and WQOP.

Removed

  • #772: Removed redundant self.receipts.root() call.

What's Changed

  • use the correct gas units for wdop and wqop by @Voxelot in #765
  • Fixed no zeroing malleable fields for Create transaction by @xgreenx in #767
  • Removed redundant self.receipts.root() call by @xgreenx in #772
  • Charge for LDC opcode before loading the contract into memory by @xgreenx in #768
  • Use DependentCost for CFE and CFEI opcodes by @xgreenx in #769
  • Cache contract inputs in the VM by @xgreenx in #770
  • Take into account spent gas during synchronous predicates estimation by @xgreenx in #771
  • Removed dead code from the codebase by @xgreenx in #774
  • Release v0.54.0 by @xgreenx in #775

Full Changelog: v0.53.0...v0.54.0

v0.53.0

14 Jun 09:15
2c8cb46
Compare
Choose a tag to compare

Version v0.53.0

Added

  • #751: Improve test coverage.

Changed

  • #753: Fix an ownership check bug in CCP instruction.

What's Changed

Full Changelog: v0.52.0...v0.53.0

v0.52.0

05 Jun 08:59
f6fed57
Compare
Choose a tag to compare

Version v0.52.0

Changed

Breaking

  • #748: Make VmMemoryPool::get_new async.
  • #747: Use DependentCost for aloc opcode. The cost of the aloc opcode is now dependent on the size of the allocation.

What's Changed

Full Changelog: v0.51.0...v0.52.0

v0.51.0

03 Jun 16:04
0a6d959
Compare
Choose a tag to compare

Version v0.51.0

Added

  • #732: Adds reset method to VM memory.

Breaking

  • #732: Makes the VM generic over the memory type, allowing reuse of relatively expensive-to-allocate VM memories through VmMemoryPool. Functions and traits which require VM initalization such as estimate_predicates now take either the memory or VmMemoryPool as an argument. The Interpterter::eq method now only compares accessible memory regions. Memory was renamed into MemoryInstance and Memory is a trait now.

Changed

Breaking

  • #743: Zeroes $flag on CALL, so that contracts can assume clean $flag state.
  • #737: Panic on instructions with non-zero reserved part.

What's Changed

Full Changelog: v0.50.0...v0.51.0

v0.50.0

29 May 12:21
a72f84b
Compare
Choose a tag to compare

Version v0.50.0

Changed

  • #725: Adds more clippy lints to catch possible integer overflow and casting bugs on compile time.
  • #729: Adds more clippy lints to fuel-merkle to catch possible integer overflow and casting bugs on compile time. It also does some internal refactoring.

Added

Breaking

  • #725: UtxoId::from_str now rejects inputs with multiple 0x prefixes. Many ::from_str implementations also reject extra data in the end of the input, instead of silently ignoring it. UtxoId::from_str allows a single : between the fields. Unused GasUnit struct removed.
  • #726: Removed code related to Binary Merkle Sum Trees (BMSTs). The BMST is deprecated and not used in production environments.
  • #729: Removed default implementation of Node::key_size_bits, implementors must now define it themselves. Also some helper traits have been merged together, or their types changed.

Fixed

Breaking

  • #736: LDC instruction now works in internal contexts as well. Call frames use code size padded to word alignment.

What's Changed

Full Changelog: v0.49.0...v0.50.0