Skip to content

v0.18.0

Compare
Choose a tag to compare
@xgreenx xgreenx released this 27 Apr 19:27
· 607 commits to master since this release
19f12ea

The change bumps the version to 0.18.0 and exposes sync_max_get_header and sync_max_get_txns in the helm chart.

Release 0.18.0

Overview

A new release brings:

  • Optimization for the execution based on the performance from beta 3 and on internal benchmarks. Improved metrics gathering.
  • Stabilization and better test coverage of the fuel-vm. We removed almost all unsafe code and added test cases for each opcode. Fixed some edge cases with memory in the fuel-vm.
  • Fully integrated Merkle trees and filled all malleable fields in the transactions.
  • Added retryable messages, removed redundant fields from it, and updated the API to support a new commitment schema.

What's Changed

Breaking

  • All unsafe functions were replaced with safe analog in the fuel-crypto - FuelLabs/fuel-vm#346
  • $hp holds the address of the last available byte in a heap, while previously it was $hp - 1 - FuelLabs/fuel-vm#377
  • Each variant in the fuel_tx::Input enum now has its own type - FuelLabs/fuel-vm#364
  • Message nonce is unified and now Bytes32 everywhere - FuelLabs/fuel-vm#394
  • Removed the message_id field from all places - FuelLabs/fuel-vm#397, FuelLabs/fuel-vm#373,
  • Unified the block height in all places with the introduction of a new BlockHeigh - FuelLabs/fuel-vm#410
  • Make SMO instruction take data ptr as an argument - FuelLabs/fuel-vm#404
  • Now the chain id affects the signature and predicate's owner and should be passed into the sign function - FuelLabs/fuel-vm#406
  • Updated the produce_blocks endpoint to accept the start time and the number of blocks. All new blocks will use the previous timestamp as a base - #1059
  • The fuel-core stores only unspent coins and messages, so all API that previously returned spent coins is affected - Prune owned coin idx when inputs are spent by @Voxelot in #1055
  • The message proof API has been changed to be compatible with a new version - #1071
  • The fuel-core now has retryable messages and coin messages. Retryable messages can only be consumed during successful transaction execution. The coin message acts as common coins. resouces_to_spend API was replaced with coins_to_spend that returns a new CoinType type. - #1067

All changes

Full Changelog: v0.17.3...v0.18.0