Skip to content

Commit b4f015d

Browse files
committed
feat: nv21: supply nv21-dev flag to FVM3
1 parent a70d3df commit b4f015d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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.6", optional = true, default-features = false }
3535
fr32 = { version = "~6.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)