Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version to 0.34.0 and finilized the CHANGELOG.md #488

Merged
merged 3 commits into from
Jun 13, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

Description of the upcoming release here.

## [Version 0.34.0]

The release contains fixes for critical issues that we found before the audit.
Mainly it affected SMT and related code. The redundant code was removed in
several places and replaced with more evident logic.

The functionality of the SMT was extended to provide more flexibility and
select the most performant API.
xgreenx marked this conversation as resolved.
Show resolved Hide resolved

### Added

- [#476](https://github.com/FuelLabs/fuel-vm/pull/476): The `fuel_vm::Call` supports `From<[u8; Self::LEN]>` and `Into<[u8; Self::LEN]>`.
Expand All @@ -17,9 +26,11 @@ Description of the upcoming release here.
a more optimal way to build and calculate the SMT when you know all leaves.
The `Contract::initial_state_root` is much faster now (by ~15 times).

### Changed
### Removed

#### Breaking
- [#478](https://github.com/FuelLabs/fuel-vm/pull/478): The `CheckedMemRange` is replaced by the `MemoryRange`.

### Changed

- [#477](https://github.com/FuelLabs/fuel-vm/pull/477): The `PanicReason::UnknownPanicReason` is `0x00`.
The `PanicReason` now implements `From<u8>` instead of `TryFrom<u8>` and can't return an error anymore.
Expand Down Expand Up @@ -48,10 +59,6 @@ Description of the upcoming release here.
SMT expects hashed storage key wrapped into a `MerkleTreeKey` structure.
The change is breaking because it changes the `state_root` generated by the SMT
and may change the `ContractId` if the `Create` transaction has non-empty `StoargeSlot`s.

### Removed

- [#478](https://github.com/FuelLabs/fuel-vm/pull/478): The `CheckedMemRange` is replaced by the `MemoryRange`.


## [Version 0.33.0]
Expand Down
16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ edition = "2021"
homepage = "https://fuel.network/"
license = "BUSL-1.1"
repository = "https://github.com/FuelLabs/fuel-vm"
version = "0.33.0"
version = "0.34.0"

[workspace.dependencies]
fuel-asm = { version = "0.33.0", path = "fuel-asm", default-features = false }
fuel-crypto = { version = "0.33.0", path = "fuel-crypto", default-features = false }
fuel-merkle = { version = "0.33.0", path = "fuel-merkle", default-features = false }
fuel-storage = { version = "0.33.0", path = "fuel-storage", default-features = false }
fuel-tx = { version = "0.33.0", path = "fuel-tx", default-features = false }
fuel-types = { version = "0.33.0", path = "fuel-types", default-features = false }
fuel-vm = { version = "0.33.0", path = "fuel-vm", default-features = false }
fuel-asm = { version = "0.34.0", path = "fuel-asm", default-features = false }
fuel-crypto = { version = "0.34.0", path = "fuel-crypto", default-features = false }
fuel-merkle = { version = "0.34.0", path = "fuel-merkle", default-features = false }
fuel-storage = { version = "0.34.0", path = "fuel-storage", default-features = false }
fuel-tx = { version = "0.34.0", path = "fuel-tx", default-features = false }
fuel-types = { version = "0.34.0", path = "fuel-types", default-features = false }
fuel-vm = { version = "0.34.0", path = "fuel-vm", default-features = false }
bincode = { version = "1.3", default-features = false }
criterion = "0.5.0"