Skip to content

Commit

Permalink
feat: nv21: supply nv21-dev flag to FVM3
Browse files Browse the repository at this point in the history
  • Loading branch information
arajasek committed Aug 23, 2023
1 parent 8c79a5f commit 31ece5c
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 19 deletions.
40 changes: 23 additions & 17 deletions rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ anyhow = "1.0.23"
serde_json = "1.0.46"
rust-gpu-tools = { version = "0.7", optional = true, default-features = false }
fr32 = { version = "~7.0", default-features = false }
fvm3 = { package = "fvm", version = "~3.6.0", default-features = false }
fvm3 = { package = "fvm", version = "~3.6.0", default-features = false, features = ["nv21-dev"] }
fvm3_shared = { package = "fvm_shared", version = "~3.5.0" }
fvm2 = { package = "fvm", version = "~2.6", default-features = false }
fvm2_shared = { package = "fvm_shared", version = "~2.5" }
Expand Down
2 changes: 1 addition & 1 deletion rust/src/fvm/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ impl TryFrom<u32> for EngineVersion {
fn try_from(value: u32) -> Result<Self, Self::Error> {
match value {
16 | 17 => Ok(EngineVersion::V1),
18 | 19 | 20 => Ok(EngineVersion::V2),
18 | 19 | 20 | 21 => Ok(EngineVersion::V2),
_ => return Err(anyhow!("network version not supported")),
}
}
Expand Down

0 comments on commit 31ece5c

Please sign in to comment.