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

Release shared 0.5.0 #475

Merged
merged 2 commits into from
Apr 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion fvm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ahash = "0.7"
num-derive = "0.3.3"
cid = { version = "0.8.2", default-features = false, features = ["serde-codec"] }
multihash = { version = "0.16.1", default-features = false }
fvm_shared = { version = "0.4.1", path = "../shared", features = ["crypto"] }
fvm_shared = { version = "0.5.0", path = "../shared", features = ["crypto"] }
fvm_ipld_hamt = { version = "0.4.0", path = "../ipld/hamt"}
fvm_ipld_amt = { version = "0.4.0", path = "../ipld/amt"}
fvm_ipld_blockstore = { version = "0.1.0", path = "../ipld/blockstore" }
Expand Down
5 changes: 5 additions & 0 deletions sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog

## 0.5.0 - 2022-04-11

Upgrades the SDK to fvm_shared 0.5.0. This release includes a significant breaking change to exit codes.
4 changes: 2 additions & 2 deletions sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "fvm_sdk"
description = "Filecoin Virtual Machine actor development SDK"
version = "0.4.0"
version = "0.5.0"
license = "MIT OR Apache-2.0"
authors = ["Protocol Labs", "Filecoin Core Devs"]
edition = "2018"
Expand All @@ -12,7 +12,7 @@ crate-type = ["lib"]

[dependencies]
cid = { version = "0.8.2", default-features = false }
fvm_shared = { version = "0.4.1", path = "../shared" }
fvm_shared = { version = "0.5.0", path = "../shared" }
## num-traits; disabling default features makes it play nice with no_std.
num-traits = { version = "0.2.14", default-features = false }
lazy_static = "1.4.0"
Expand Down
14 changes: 14 additions & 0 deletions shared/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Changelog

## 0.5.0 - 2022-04-11

- Enforce maximum big-int size to match lotus.
- Make signature properties public.
- Major error type refactor.

The largest change here is a major error type refactor.

1. It's now a u32 with a set of pre-defined values instead of an enum.
2. The error codes have been reworked according to the FVM spec.

Both of these changes were made to better support user-defined actors.
2 changes: 1 addition & 1 deletion shared/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "fvm_shared"
description = "Filecoin Virtual Machine shared types and functions"
version = "0.4.1"
version = "0.5.0"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["ChainSafe Systems <[email protected]>", "Protocol Labs", "Filecoin Core Devs"]
Expand Down
2 changes: 1 addition & 1 deletion testing/conformance/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository = "https://github.com/filecoin-project/ref-fvm"

[dependencies]
fvm = { version = "0.5.1", path = "../../fvm", default-features = false }
fvm_shared = { version = "0.4.1", path = "../../shared" }
fvm_shared = { version = "0.5.0", path = "../../shared" }
fvm_ipld_hamt = { version = "0.4.0", path = "../../ipld/hamt"}
fvm_ipld_amt = { version = "0.4.0", path = "../../ipld/amt"}
fvm_ipld_car = { version = "0.4.0", path = "../../ipld/car" }
Expand Down