diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 819636d2..a09295ae 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -570,7 +570,16 @@ version = "0.99.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a91a1ccf6fb772808742db2f51e2179f25b1ec559cbe39ea080c72ff61caf8f" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.99.2", +] + +[[package]] +name = "cranelift-bforest" +version = "0.106.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b57d4f3ffc28bbd6ef1ca7b50b20126717232f97487efe027d135d9d87eb29c" +dependencies = [ + "cranelift-entity 0.106.2", ] [[package]] @@ -580,12 +589,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "169db1a457791bff4fd1fc585bb5cc515609647e0420a7d5c98d7700c59c2d00" dependencies = [ "bumpalo", - "cranelift-bforest", - "cranelift-codegen-meta", - "cranelift-codegen-shared", - "cranelift-control", - "cranelift-entity", - "cranelift-isle", + "cranelift-bforest 0.99.2", + "cranelift-codegen-meta 0.99.2", + "cranelift-codegen-shared 0.99.2", + "cranelift-control 0.99.2", + "cranelift-entity 0.99.2", + "cranelift-isle 0.99.2", "gimli 0.27.3", "hashbrown 0.13.2", "log", @@ -594,13 +603,43 @@ dependencies = [ "target-lexicon", ] +[[package]] +name = "cranelift-codegen" +version = "0.106.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1f7d0ac7fd53f2c29db3ff9a063f6ff5a8be2abaa8f6942aceb6e1521e70df7" +dependencies = [ + "bumpalo", + "cranelift-bforest 0.106.2", + "cranelift-codegen-meta 0.106.2", + "cranelift-codegen-shared 0.106.2", + "cranelift-control 0.106.2", + "cranelift-entity 0.106.2", + "cranelift-isle 0.106.2", + "gimli 0.28.1", + "hashbrown 0.14.3", + "log", + "regalloc2", + "smallvec", + "target-lexicon", +] + [[package]] name = "cranelift-codegen-meta" version = "0.99.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3486b93751ef19e6d6eef66d2c0e83ed3d2ba01da1919ed2747f2f7bd8ba3419" dependencies = [ - "cranelift-codegen-shared", + "cranelift-codegen-shared 0.99.2", +] + +[[package]] +name = "cranelift-codegen-meta" +version = "0.106.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b40bf21460a600178956cb7fd900a7408c6587fbb988a8063f7215361801a1da" +dependencies = [ + "cranelift-codegen-shared 0.106.2", ] [[package]] @@ -609,6 +648,12 @@ version = "0.99.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "86a1205ab18e7cd25dc4eca5246e56b506ced3feb8d95a8d776195e48d2cd4ef" +[[package]] +name = "cranelift-codegen-shared" +version = "0.106.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d792ecc1243b7ebec4a7f77d9ed428ef27456eeb1f8c780587a6f5c38841be19" + [[package]] name = "cranelift-control" version = "0.99.2" @@ -618,6 +663,15 @@ dependencies = [ "arbitrary", ] +[[package]] +name = "cranelift-control" +version = "0.106.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cea2808043df964b73ad7582e09afbbe06a31f3fb9db834d53e74b4e16facaeb" +dependencies = [ + "arbitrary", +] + [[package]] name = "cranelift-entity" version = "0.99.2" @@ -627,13 +681,35 @@ dependencies = [ "serde", ] +[[package]] +name = "cranelift-entity" +version = "0.106.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1930946836da6f514da87625cd1a0331f3908e0de454628c24a0b97b130c4d4" +dependencies = [ + "serde", + "serde_derive", +] + [[package]] name = "cranelift-frontend" version = "0.99.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b7a94c4c5508b7407e125af9d5320694b7423322e59a4ac0d07919ae254347ca" dependencies = [ - "cranelift-codegen", + "cranelift-codegen 0.99.2", + "log", + "smallvec", + "target-lexicon", +] + +[[package]] +name = "cranelift-frontend" +version = "0.106.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5482a5fcdf98f2f31b21093643bdcfe9030866b8be6481117022e7f52baa0f2b" +dependencies = [ + "cranelift-codegen 0.106.2", "log", "smallvec", "target-lexicon", @@ -645,13 +721,30 @@ version = "0.99.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ef1f888d0845dcd6be4d625b91d9d8308f3d95bed5c5d4072ce38e1917faa505" +[[package]] +name = "cranelift-isle" +version = "0.106.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f6e1869b6053383bdb356900e42e33555b4c9ebee05699469b7c53cdafc82ea" + [[package]] name = "cranelift-native" version = "0.99.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ad5966da08f1e96a3ae63be49966a85c9b249fa465f8cf1b66469a82b1004a0" dependencies = [ - "cranelift-codegen", + "cranelift-codegen 0.99.2", + "libc", + "target-lexicon", +] + +[[package]] +name = "cranelift-native" +version = "0.106.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a91446e8045f1c4bc164b7bba68e2419c623904580d4b730877a663c6da38964" +dependencies = [ + "cranelift-codegen 0.106.2", "libc", "target-lexicon", ] @@ -662,14 +755,30 @@ version = "0.99.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d8635c88b424f1d232436f683a301143b36953cd98fc6f86f7bac862dfeb6f5" dependencies = [ - "cranelift-codegen", - "cranelift-entity", - "cranelift-frontend", + "cranelift-codegen 0.99.2", + "cranelift-entity 0.99.2", + "cranelift-frontend 0.99.2", "itertools 0.10.5", "log", "smallvec", "wasmparser 0.110.0", - "wasmtime-types", + "wasmtime-types 12.0.2", +] + +[[package]] +name = "cranelift-wasm" +version = "0.106.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8b17979b862d3b0d52de6ae3294ffe4d86c36027b56ad0443a7c8c8f921d14f" +dependencies = [ + "cranelift-codegen 0.106.2", + "cranelift-entity 0.106.2", + "cranelift-frontend 0.106.2", + "itertools 0.12.1", + "log", + "smallvec", + "wasmparser 0.201.0", + "wasmtime-types 19.0.2", ] [[package]] @@ -1094,6 +1203,12 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" +[[package]] +name = "fallible-iterator" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" + [[package]] name = "fastrand" version = "2.0.2" @@ -1156,12 +1271,12 @@ dependencies = [ "filepath", "fvm 2.7.0", "fvm 3.9.0", - "fvm 4.1.2", + "fvm 4.2.0", "fvm_ipld_blockstore", "fvm_ipld_encoding", "fvm_shared 2.6.0", "fvm_shared 3.6.0", - "fvm_shared 4.1.2", + "fvm_shared 4.2.0", "group", "lazy_static", "libc", @@ -1461,7 +1576,7 @@ dependencies = [ "serde_repr", "serde_tuple", "thiserror", - "wasmtime", + "wasmtime 12.0.2", "yastl", ] @@ -1496,22 +1611,20 @@ dependencies = [ "serde", "serde_tuple", "thiserror", - "wasmtime", - "wasmtime-environ", - "wasmtime-runtime", + "wasmtime 12.0.2", + "wasmtime-environ 12.0.2", + "wasmtime-runtime 12.0.2", "yastl", ] [[package]] name = "fvm" -version = "4.1.2" +version = "4.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7aa28091abfa865076e1afc15f008ef3b26c7cfa11291f5e5742665cc4746969" +checksum = "b31422270e0665c2f12f91a46e3bf1e164dcab41c7d5d44006418261c71def64" dependencies = [ "ambassador", "anyhow", - "blake2b_simd", - "byteorder", "cid", "derive_more", "filecoin-proofs-api 16.1.0", @@ -1520,14 +1633,12 @@ dependencies = [ "fvm_ipld_blockstore", "fvm_ipld_encoding", "fvm_ipld_hamt 0.9.0", - "fvm_shared 4.1.2", + "fvm_shared 4.2.0", "lazy_static", "log", "minstant", "multihash", "num-traits", - "num_cpus", - "once_cell", "rand", "rayon", "replace_with", @@ -1535,9 +1646,9 @@ dependencies = [ "serde_tuple", "static_assertions", "thiserror", - "wasmtime", - "wasmtime-environ", - "wasmtime-runtime", + "wasmtime 19.0.2", + "wasmtime-environ 19.0.2", + "wasmtime-runtime 19.0.2", "yastl", ] @@ -1580,9 +1691,9 @@ dependencies = [ [[package]] name = "fvm_ipld_blockstore" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "417f52f6915b9f9a68de8462e1cf46f14a2c16420f484b8d2066873de2ffe420" +checksum = "d064b957420f5ecc137a153baaa6c32e2eb19b674135317200b6f2537eabdbfd" dependencies = [ "anyhow", "cid", @@ -1708,9 +1819,9 @@ dependencies = [ [[package]] name = "fvm_shared" -version = "4.1.2" +version = "4.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95f9a003148f592d1b24124b27c9a52f00902b23233515b45b65730dbbfc0c03" +checksum = "19de4747a883b0f1ed8b9200c188d87ebcc70f7c10c07f7f64d7fc5fb192d085" dependencies = [ "anyhow", "bitflags 2.5.0", @@ -1803,7 +1914,7 @@ version = "0.27.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" dependencies = [ - "fallible-iterator", + "fallible-iterator 0.2.0", "indexmap 1.9.3", "stable_deref_trait", ] @@ -1813,6 +1924,11 @@ name = "gimli" version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +dependencies = [ + "fallible-iterator 0.3.0", + "indexmap 2.2.6", + "stable_deref_trait", +] [[package]] name = "glob" @@ -1853,6 +1969,9 @@ name = "hashbrown" version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" +dependencies = [ + "ahash", +] [[package]] name = "hermit-abi" @@ -2051,6 +2170,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.11" @@ -2476,6 +2604,9 @@ version = "0.32.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" dependencies = [ + "crc32fast", + "hashbrown 0.14.3", + "indexmap 2.2.6", "memchr", ] @@ -3712,6 +3843,15 @@ dependencies = [ "leb128", ] +[[package]] +name = "wasm-encoder" +version = "0.201.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9c7d2731df60006819b013f64ccc2019691deccf6e11a1804bc850cd6748f1a" +dependencies = [ + "leb128", +] + [[package]] name = "wasmparser" version = "0.95.0" @@ -3743,6 +3883,17 @@ dependencies = [ "semver", ] +[[package]] +name = "wasmparser" +version = "0.201.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84e5df6dba6c0d7fafc63a450f1738451ed7a0b52295d83e868218fa286bf708" +dependencies = [ + "bitflags 2.5.0", + "indexmap 2.2.6", + "semver", +] + [[package]] name = "wasmprinter" version = "0.2.80" @@ -3777,13 +3928,45 @@ dependencies = [ "target-lexicon", "wasm-encoder 0.31.1", "wasmparser 0.110.0", - "wasmtime-cranelift", - "wasmtime-environ", + "wasmtime-cranelift 12.0.2", + "wasmtime-environ 12.0.2", "wasmtime-jit", - "wasmtime-runtime", + "wasmtime-runtime 12.0.2", "windows-sys 0.48.0", ] +[[package]] +name = "wasmtime" +version = "19.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e300c0e3f19dc9064e3b17ce661088646c70dbdde36aab46470ed68ba58db7d" +dependencies = [ + "anyhow", + "bincode", + "bumpalo", + "cfg-if", + "gimli 0.28.1", + "indexmap 2.2.6", + "libc", + "log", + "object 0.32.2", + "once_cell", + "paste", + "rayon", + "rustix", + "serde", + "serde_derive", + "serde_json", + "target-lexicon", + "wasmparser 0.201.0", + "wasmtime-cranelift 19.0.2", + "wasmtime-environ 19.0.2", + "wasmtime-jit-icache-coherence 19.0.2", + "wasmtime-runtime 19.0.2", + "wasmtime-slab", + "windows-sys 0.52.0", +] + [[package]] name = "wasmtime-asm-macros" version = "12.0.2" @@ -3793,6 +3976,15 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "wasmtime-asm-macros" +version = "19.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "110aa598e02a136fb095ca70fa96367fc16bab55256a131e66f9b58f16c73daf" +dependencies = [ + "cfg-if", +] + [[package]] name = "wasmtime-cranelift" version = "12.0.2" @@ -3800,21 +3992,46 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ae8ed7a4845f22be6b1ad80f33f43fa03445b03a02f2d40dca695129769cd1a" dependencies = [ "anyhow", - "cranelift-codegen", - "cranelift-control", - "cranelift-entity", - "cranelift-frontend", - "cranelift-native", - "cranelift-wasm", + "cranelift-codegen 0.99.2", + "cranelift-control 0.99.2", + "cranelift-entity 0.99.2", + "cranelift-frontend 0.99.2", + "cranelift-native 0.99.2", + "cranelift-wasm 0.99.2", "gimli 0.27.3", "log", "object 0.31.1", "target-lexicon", "thiserror", "wasmparser 0.110.0", - "wasmtime-cranelift-shared", - "wasmtime-environ", - "wasmtime-versioned-export-macros", + "wasmtime-cranelift-shared 12.0.2", + "wasmtime-environ 12.0.2", + "wasmtime-versioned-export-macros 12.0.2", +] + +[[package]] +name = "wasmtime-cranelift" +version = "19.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e923262451a4b5b39fe02f69f1338d56356db470e289ea1887346b9c7f592738" +dependencies = [ + "anyhow", + "cfg-if", + "cranelift-codegen 0.106.2", + "cranelift-control 0.106.2", + "cranelift-entity 0.106.2", + "cranelift-frontend 0.106.2", + "cranelift-native 0.106.2", + "cranelift-wasm 0.106.2", + "gimli 0.28.1", + "log", + "object 0.32.2", + "target-lexicon", + "thiserror", + "wasmparser 0.201.0", + "wasmtime-cranelift-shared 19.0.2", + "wasmtime-environ 19.0.2", + "wasmtime-versioned-export-macros 19.0.2", ] [[package]] @@ -3824,13 +4041,29 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "86b17099f9320a1c481634d88101258917d5065717cf22b04ed75b1a8ea062b4" dependencies = [ "anyhow", - "cranelift-codegen", - "cranelift-control", - "cranelift-native", + "cranelift-codegen 0.99.2", + "cranelift-control 0.99.2", + "cranelift-native 0.99.2", "gimli 0.27.3", "object 0.31.1", "target-lexicon", - "wasmtime-environ", + "wasmtime-environ 12.0.2", +] + +[[package]] +name = "wasmtime-cranelift-shared" +version = "19.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "508898cbbea0df81a5d29cfc1c7c72431a1bc4c9e89fd9514b4c868474c05c7a" +dependencies = [ + "anyhow", + "cranelift-codegen 0.106.2", + "cranelift-control 0.106.2", + "cranelift-native 0.106.2", + "gimli 0.28.1", + "object 0.32.2", + "target-lexicon", + "wasmtime-environ 19.0.2", ] [[package]] @@ -3840,7 +4073,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8b9227b1001229ff125e0f76bf1d5b9dc4895e6bcfd5cc35a56f84685964ec7" dependencies = [ "anyhow", - "cranelift-entity", + "cranelift-entity 0.99.2", "gimli 0.27.3", "indexmap 2.2.6", "log", @@ -3849,7 +4082,28 @@ dependencies = [ "target-lexicon", "thiserror", "wasmparser 0.110.0", - "wasmtime-types", + "wasmtime-types 12.0.2", +] + +[[package]] +name = "wasmtime-environ" +version = "19.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7e3f2aa72dbb64c19708646e1ff97650f34e254598b82bad5578ea9c80edd30" +dependencies = [ + "anyhow", + "bincode", + "cranelift-entity 0.106.2", + "gimli 0.28.1", + "indexmap 2.2.6", + "log", + "object 0.32.2", + "serde", + "serde_derive", + "target-lexicon", + "thiserror", + "wasmparser 0.201.0", + "wasmtime-types 19.0.2", ] [[package]] @@ -3870,9 +4124,9 @@ dependencies = [ "rustix", "serde", "target-lexicon", - "wasmtime-environ", - "wasmtime-jit-icache-coherence", - "wasmtime-runtime", + "wasmtime-environ 12.0.2", + "wasmtime-jit-icache-coherence 12.0.2", + "wasmtime-runtime 12.0.2", "windows-sys 0.48.0", ] @@ -3883,7 +4137,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aef27ea6c34ef888030d15560037fe7ef27a5609fbbba8e1e3e41dc4245f5bb2" dependencies = [ "once_cell", - "wasmtime-versioned-export-macros", + "wasmtime-versioned-export-macros 12.0.2", ] [[package]] @@ -3897,6 +4151,17 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "19.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c22ca2ef4d87b23d400660373453e274b2251bc2d674e3102497f690135e04b0" +dependencies = [ + "cfg-if", + "libc", + "windows-sys 0.52.0", +] + [[package]] name = "wasmtime-runtime" version = "12.0.2" @@ -3917,25 +4182,71 @@ dependencies = [ "rustix", "sptr", "wasm-encoder 0.31.1", - "wasmtime-asm-macros", - "wasmtime-environ", + "wasmtime-asm-macros 12.0.2", + "wasmtime-environ 12.0.2", "wasmtime-jit-debug", - "wasmtime-versioned-export-macros", + "wasmtime-versioned-export-macros 12.0.2", "windows-sys 0.48.0", ] +[[package]] +name = "wasmtime-runtime" +version = "19.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1806ee242ca4fd183309b7406e4e83ae7739b7569f395d56700de7c7ef9f5eb8" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "indexmap 2.2.6", + "libc", + "log", + "mach", + "memfd", + "memoffset", + "paste", + "psm", + "rustix", + "sptr", + "wasm-encoder 0.201.0", + "wasmtime-asm-macros 19.0.2", + "wasmtime-environ 19.0.2", + "wasmtime-versioned-export-macros 19.0.2", + "wasmtime-wmemcheck", + "windows-sys 0.52.0", +] + +[[package]] +name = "wasmtime-slab" +version = "19.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20c58bef9ce877fd06acb58f08d003af17cb05cc51225b455e999fbad8e584c0" + [[package]] name = "wasmtime-types" version = "12.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77943729d4b46141538e8d0b6168915dc5f88575ecdfea26753fd3ba8bab244a" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.99.2", "serde", "thiserror", "wasmparser 0.110.0", ] +[[package]] +name = "wasmtime-types" +version = "19.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cebe297aa063136d9d2e5b347c1528868aa43c2c8d0e1eb0eec144567e38fe0f" +dependencies = [ + "cranelift-entity 0.106.2", + "serde", + "serde_derive", + "thiserror", + "wasmparser 0.201.0", +] + [[package]] name = "wasmtime-versioned-export-macros" version = "12.0.2" @@ -3947,6 +4258,23 @@ dependencies = [ "syn 2.0.60", ] +[[package]] +name = "wasmtime-versioned-export-macros" +version = "19.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffaafa5c12355b1a9ee068e9295d50c4ca0a400c721950cdae4f5b54391a2da5" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "wasmtime-wmemcheck" +version = "19.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9a8c62e9df8322b2166d2a6f096fbec195ddb093748fd74170dcf25ef596769" + [[package]] name = "web-time" version = "1.1.0" diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 746d7ed8..3bf11356 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -31,8 +31,8 @@ rayon = "1.2.1" anyhow = "1.0.23" serde_json = "1.0.46" rust-gpu-tools = { version = "0.7", optional = true, default-features = false } -fvm4 = { package = "fvm", version = "~4.1.2", default-features = false } -fvm4_shared = { package = "fvm_shared", version = "~4.1.2" } +fvm4 = { package = "fvm", version = "~4.2.0", default-features = false, features = ["nv23-dev"] } +fvm4_shared = { package = "fvm_shared", version = "~4.2.0" } fvm3 = { package = "fvm", version = "~3.9.0", default-features = false } fvm3_shared = { package = "fvm_shared", version = "~3.6.0" } fvm2 = { package = "fvm", version = "~2.7", default-features = false } diff --git a/rust/src/fvm/engine.rs b/rust/src/fvm/engine.rs index 3d220587..15594f65 100644 --- a/rust/src/fvm/engine.rs +++ b/rust/src/fvm/engine.rs @@ -70,7 +70,7 @@ impl TryFrom for EngineVersion { match value { 16 | 17 => Ok(EngineVersion::V1), 18..=20 => Ok(EngineVersion::V2), - 21 | 22 => Ok(EngineVersion::V3), + 21..=23 => Ok(EngineVersion::V3), _ => Err(anyhow!("network version not supported")), } }