Skip to content

Commit 8c2147f

Browse files
authored
Merge pull request #414 from filecoin-project/asr/enable-nv21
feat: nv21: supply nv21-dev flag to FVM3
2 parents 8c79a5f + 31ece5c commit 8c2147f

File tree

3 files changed

+25
-19
lines changed

3 files changed

+25
-19
lines changed

rust/Cargo.lock

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

rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ anyhow = "1.0.23"
3333
serde_json = "1.0.46"
3434
rust-gpu-tools = { version = "0.7", optional = true, default-features = false }
3535
fr32 = { version = "~7.0", default-features = false }
36-
fvm3 = { package = "fvm", version = "~3.6.0", default-features = false }
36+
fvm3 = { package = "fvm", version = "~3.6.0", default-features = false, features = ["nv21-dev"] }
3737
fvm3_shared = { package = "fvm_shared", version = "~3.5.0" }
3838
fvm2 = { package = "fvm", version = "~2.6", default-features = false }
3939
fvm2_shared = { package = "fvm_shared", version = "~2.5" }

rust/src/fvm/engine.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl TryFrom<u32> for EngineVersion {
7171
fn try_from(value: u32) -> Result<Self, Self::Error> {
7272
match value {
7373
16 | 17 => Ok(EngineVersion::V1),
74-
18 | 19 | 20 => Ok(EngineVersion::V2),
74+
18 | 19 | 20 | 21 => Ok(EngineVersion::V2),
7575
_ => return Err(anyhow!("network version not supported")),
7676
}
7777
}

0 commit comments

Comments
 (0)