Skip to content

Commit cefb3d1

Browse files
rjan90vmx
andauthoredJun 13, 2024
chore: release fvm v2.8.0 (#2017)
* Update filecoin-proofs-api to v18 Update filecoin-proofs-api to v18 * Bump to 2.8.0 Bump to 2.8.0 * Update cargo.lock and changelog Update cargo.lock and changelog * fix: remove the pairing feature from fvm_shared (#2009) The `pairing` feature from the `fvm_shared` crate isn't used. It causes problems, as it forces the `subtle` dependency to v2.4.1, although the rest is happy to have v2.5.0. Here is a detailed dependency graph and issue outline: `fvm_shared` depends on `bls-signatures`. In `bls-signatures` we depend on an old version (v0.11) of `hkdf`. That version depends on `hmac` v0.11, which depends on `crypto-mac` v0.11. `crypto-mac` v0.11.0 depends on `subtle` v2. That is fine, it would automatically select v2.5.0. The problem is that `crypto-mac` v0.11.1 pins `subtle` to exactly v2.4, therefore v2.5.0 won't be selected. The obvious thing is to upgrade in`bls-signatures` the version of `hkdf` to the latest v0.12. That would make it possible to use `subtle` v2.5.0. The problem is that such an upgrade is not easily possible. `hkdf` v0.12 depends on a newer version v0.10 of the `sha2` crate. Updating that breaks the `bls12_381` crate. The reason is the current version v0.8.0 of `bls12_381` depends on an old version v0.9 of the `digest` crate. The obvious thing is to upgrade in `bls12_381` the version of `digest` to v0.10. That would make it possible to get `hkdf` v0.12 built. But such an upgrade is and open issue at zkcrypto/bls12_381#102, which mentions that it's blocked on zkcrypto/bls12_381#90. That pull request is about updating do the hash-to-curve draft v16, currently it's using v12. We use that code path in `bls-signatures`, else we wouldn't enable the `experimental` feature of `bls12_381`. So it's even not clear if we'd want such a change to v16. * Update cargo.lock and Changelog.md Update cargo.locl and Changelog.md * Update fvm_shared, cargo.lock and changelog Update fvm_shared, cargo.lock and changelog --------- Co-authored-by: Volker Mische <volker.mische@gmail.com>
1 parent 7895bf9 commit cefb3d1

File tree

6 files changed

+40
-82
lines changed

6 files changed

+40
-82
lines changed
 

‎Cargo.lock

+25-74
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎fvm/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ Changes to the reference FVM implementation.
44

55
## [Unreleased]
66

7+
## 2.8.0 (2024-06-12)
8+
9+
- Update `filecoin-proofs-api` to v18
10+
711
## 2.7.0 (2023-09-06)
812

913
- Upgrade wasmtime to v12. Unlike prior wasmtime upgrades, this shouldn't be a breaking change as it now mangles its symbols.

‎fvm/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "fvm"
33
description = "Filecoin Virtual Machine reference implementation"
4-
version = "2.7.0"
4+
version = "2.8.0"
55
license = "MIT OR Apache-2.0"
66
authors = ["Protocol Labs", "Filecoin Core Devs"]
77
edition = "2021"
@@ -19,7 +19,7 @@ derive_builder = "0.12.0"
1919
num-derive = "0.4.0"
2020
cid = { workspace = true, features = ["serde-codec"] }
2121
multihash = { workspace = true }
22-
fvm_shared = { version = "2.6.0", path = "../shared", features = ["crypto"] }
22+
fvm_shared = { version = "2.7.0", path = "../shared", features = ["crypto"] }
2323
fvm_ipld_hamt = { workspace = true }
2424
fvm_ipld_amt = { workspace = true }
2525
fvm_ipld_blockstore = { workspace = true }
@@ -31,7 +31,7 @@ lazy_static = "1.4.0"
3131
derive-getters = "0.3.0"
3232
derive_more = "0.99.17"
3333
replace_with = "0.1.7"
34-
filecoin-proofs-api = { version = "16", default-features = false }
34+
filecoin-proofs-api = { version = "18", default-features = false }
3535
rayon = "1"
3636
num_cpus = "1.13.0"
3737
log = "0.4.14"

‎shared/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 2.7.0 (2024-06-12)
4+
5+
- Update `filecoin-proofs-api` to v18
6+
37
## 2.6.0 (2023-09-06)
48

59
- BREAKING: Upgrade the proofs API to v16.

‎shared/Cargo.toml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "fvm_shared"
33
description = "Filecoin Virtual Machine shared types and functions"
4-
version = "2.6.0"
4+
version = "2.7.0"
55
edition = "2021"
66
license = "MIT OR Apache-2.0"
77
authors = ["ChainSafe Systems <info@chainsafe.io>", "Protocol Labs", "Filecoin Core Devs"]
@@ -33,7 +33,7 @@ arbitrary = { version = "1.1", optional = true, features = ["derive"]}
3333
## non-wasm dependencies; these dependencies and the respective code is
3434
## only activated through non-default features, which the Kernel enables, but
3535
## not the actors.
36-
filecoin-proofs-api = { version = "16", default-features = false, optional = true }
36+
filecoin-proofs-api = { version = "18", default-features = false, optional = true }
3737
libsecp256k1 = { version = "0.7", optional = true }
3838
bls-signatures = { version = "0.15", default-features = false, optional = true }
3939
byteorder = "1.4.3"
@@ -50,6 +50,5 @@ crypto = ["libsecp256k1", "blst", "proofs"]
5050
proofs = ["filecoin-proofs-api"]
5151
secp256k1 = ["libsecp256k1"]
5252
blst = ["bls-signatures/blst"]
53-
pairing = ["bls-signatures/pairing"]
5453
testing = []
5554
arb = ["arbitrary"]

‎testing/conformance/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ publish = false
99
repository = "https://github.com/filecoin-project/ref-fvm"
1010

1111
[dependencies]
12-
fvm_shared = { version = "2.6.0", path = "../../shared" }
12+
fvm_shared = { version = "2.7.0", path = "../../shared" }
1313
fvm_ipld_hamt = { workspace = true }
1414
fvm_ipld_amt = { workspace = true }
1515
fvm_ipld_car = { workspace = true }
@@ -51,7 +51,7 @@ tar = { version = "0.4.38", default-features = false }
5151
zstd = { version = "0.12.3", default-features = false }
5252

5353
[dependencies.fvm]
54-
version = "2.7.0"
54+
version = "2.8.0"
5555
path = "../../fvm"
5656
default-features = false
5757
features = ["testing"]

0 commit comments

Comments
 (0)