Skip to content

Commit eb90e48

Browse files
committed
updates
1 parent 15d70e3 commit eb90e48

File tree

4 files changed

+35
-41
lines changed

4 files changed

+35
-41
lines changed

Cargo.lock

+25-30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,3 @@ incremental = false
3737

3838
[patch.crates-io]
3939
filecoin-proofs-api = { git = "https://github.com/filecoin-project/rust-filecoin-proofs-api", branch = "synthetic-porep" }
40-
#actors-v10 = { package = "fil_builtin_actors_bundle", git = "https://github.com/cryptonemo/builtin-actors", branch = "synthetic-porep" }

fvm/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ lazy_static = "1.4.0"
2828
derive_more = "0.99.17"
2929
replace_with = "0.1.7"
3030
#filecoin-proofs-api = { version = "14", default-features = false }
31-
filecoin-proofs-api = { git = "https://github.com/filecoin-project/rust-filecoin-proofs-api", branch = "synthetic-porep", default-features = false, optional = true }
31+
filecoin-proofs-api = { git = "https://github.com/filecoin-project/rust-filecoin-proofs-api", branch = "synthetic-porep", default-features = false }
3232
rayon = "1"
3333
num_cpus = "1.15.0"
3434
log = "0.4.19"

shared/src/sector/registered_proof.rs

+9-9
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ impl RegisteredSealProof {
5858
SectorSize::_64GiB => Self::StackedDRG64GiBV1P1,
5959
}
6060
} /*
61-
if network_version < NetworkVersion::V??? {
62-
match size {
63-
SectorSize::_2KiB => Self::StackedDRG2KiBV1_Feat_SyntheticPoRep,
64-
SectorSize::_8MiB => Self::StackedDRG8MiBV1_Feat_SyntheticPoRep,
65-
SectorSize::_512MiB => Self::StackedDRG512MiBV1_Feat_SyntheticPoRep,
66-
SectorSize::_32GiB => Self::StackedDRG32GiBV1_Feat_SyntheticPoRep,
67-
SectorSize::_64GiB => Self::StackedDRG64GiBV1_Feat_SyntheticPoRep,
68-
}
69-
} */
61+
if network_version < NetworkVersion::V??? {
62+
match size {
63+
SectorSize::_2KiB => Self::StackedDRG2KiBV1_Feat_SyntheticPoRep,
64+
SectorSize::_8MiB => Self::StackedDRG8MiBV1_Feat_SyntheticPoRep,
65+
SectorSize::_512MiB => Self::StackedDRG512MiBV1_Feat_SyntheticPoRep,
66+
SectorSize::_32GiB => Self::StackedDRG32GiBV1_Feat_SyntheticPoRep,
67+
SectorSize::_64GiB => Self::StackedDRG64GiBV1_Feat_SyntheticPoRep,
68+
}
69+
} */
7070
}
7171

7272
/// Convert the original proof type to the v1 proof added in network version 7.

0 commit comments

Comments
 (0)