Skip to content

Commit cef5aad

Browse files
committed
HACK: mux between hyperspace and mainnet
The tricky parts are: 1. I made changes to "shared" to remove negative gas values. 2. We can't depend on two different "compatible" versions at the same time. So I hack it by: 1. Depending on a git version for "nv18". 2. Patching the blockstore dep.
1 parent 6d80db6 commit cef5aad

File tree

4 files changed

+339
-27
lines changed

4 files changed

+339
-27
lines changed

rust/Cargo.lock

Lines changed: 18 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ fvm3 = { package = "fvm", version = "=3.0.0-alpha.23", default-features = false,
3838
fvm3_shared = { package = "fvm_shared", version = "3.0.0-alpha.20" }
3939
fvm3_ipld_encoding = { package = "fvm_ipld_encoding", version = "0.3.3" }
4040
fvm3h1 = { package = "fvm", git = "https://github.com/filecoin-project/ref-fvm", tag = "[email protected]", default-features = false, features = ["hyperspace"] }
41+
fvm3h1_shared = { package = "fvm_shared", git = "https://github.com/filecoin-project/ref-fvm", tag = "[email protected]" }
42+
fvm3h1_ipld_encoding = { package = "fvm_ipld_encoding", git = "https://github.com/filecoin-project/ref-fvm", tag = "[email protected]" }
4143
fvm2 = { package = "fvm", version = "2.2.0", default-features = false }
4244
fvm2_shared = { package = "fvm_shared", version = "2.0.0" }
4345
fvm2_ipld_encoding = { package = "fvm_ipld_encoding", version = "0.2.3" }
@@ -64,3 +66,6 @@ opencl = ["filecoin-proofs-api/opencl", "rust-gpu-tools/opencl", "fvm3h1/opencl
6466
cuda = ["filecoin-proofs-api/cuda", "rust-gpu-tools/cuda", "fvm3h1/cuda", "fvm3/cuda", "fvm2/cuda"]
6567
multicore-sdr = ["filecoin-proofs-api/multicore-sdr"]
6668
c-headers = ["safer-ffi/headers"]
69+
70+
[patch."https://github.com/filecoin-project/ref-fvm"]
71+
fvm_ipld_blockstore = { package = "fvm_ipld_blockstore", version = "0.1.1" }

0 commit comments

Comments
 (0)