Skip to content

v0.48.0

Compare
Choose a tag to compare
@xgreenx xgreenx released this 28 Mar 17:16
· 106 commits to master since this release
8281e9d

Version v0.48.0

Added

  • #705: Added privileged_address to the ConsensusParameters for permissioned operations(like upgrade of the network).
  • #648: Added support for generating proofs for Sparse Merkle Trees (SMTs) and proof verification. Proofs can be used to attest to the inclusion or exclusion of data from the set.

Changed

Breaking

  • #709: Removed bytecode_length from the Create transaction.
  • #706: Unified Create and Script logic via ChargeableTransaction. The change is breaking because affects JSON serialization and deserialization. Now Script and Create transactions have body fields that include unique transactions.
  • #703: Reshuffled fields Script and Create transactions to unify part used by all chargeable transactions. It breaks the serialization and deserialization and requires adoption on the SDK side.
  • #708: Hidden Default params under the "test-helper" feature to avoid accidental use in production code. It is a huge breaking change for any code that has used them before in production, and instead, it should be fetched from the network. In the case of tests simply use the "test-helper" feature in your [dev-dependencies] section.
  • #702: Wrapped FeeParameters, PredicateParameters, TxParameters, ScriptParameters and ContractParameters into an enum to support versioning.
  • #701: Wrapped ConsensusParameters and GasCosts into an enum to support versioning. Moved block_gas_limit from fuel_core_chain_config::ChainConfig to ConsensusPataremeters. Reduced default MAX_SIZE to be 110kb and MAX_CONTRACT_SIZE to be 100kb.
  • #692: Add GTF getters for tx size and address.
  • #698: Store input, output and witness limits to u16, while keeping the values limited to 255.

What's Changed

  • Add GTF getters for tx bytes size and address by @Dentosal in #692
  • feat: SMT Proofs (Inclusion and Exclusion) by @bvrooman in #648
  • Increase size of inputs, outputs and witnesses to uint16 by @Dentosal in #698
  • Versioning of ConsensusParameters and GasCosts by @xgreenx in #701
  • feat: serde::Serialize and serde::Deserialize for double_key! by @segfault-magnet in #704
  • Added privileged address to the ConsensusParameters by @xgreenx in #705
  • Add GM for base asset ID by @Dentosal in #700
  • Versioning of sub parameters by @xgreenx in #702
  • Hide Default params under the "test-helper" feature by @xgreenx in #708
  • Reshuffled fields Script and Create transactions to unify part used by all chargeable transactions by @xgreenx in #703
  • Unified Create and Script logic via ChargeableTransaction by @xgreenx in #706
  • Removed bytecode_length from the Create transaction by @xgreenx in #709
  • Missed functionality required to for upgrading fuel-core to next fuel-vm release by @xgreenx in #710
  • Release v0.48.0 by @xgreenx in #711

New Contributors

Full Changelog: v0.47.1...v0.48.0