diff --git a/Cargo.toml b/Cargo.toml index 3a916463..70ec23ae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,9 +15,12 @@ bincode = "1.1.2" blstrs = "0.7" lazy_static = "1.2" serde = "1.0.104" -filecoin-proofs-v1 = { package = "filecoin-proofs", version = "~18.1.0", default-features = false } -fr32 = { version = "~11.1.0", default-features = false } -storage-proofs-core = { version = "~18.1.0", default-features = false } +#filecoin-proofs-v1 = { package = "filecoin-proofs", version = "~18.1.0", default-features = false } +#fr32 = { version = "~11.1.0", default-features = false } +#storage-proofs-core = { version = "~18.1.0", default-features = false } +filecoin-proofs-v1 = { git = "https://github.com/filecoin-project/rust-fil-proofs", branch = "hanabi1224-upgrade-deps", package = "filecoin-proofs", default-features = false } +fr32 = { git = "https://github.com/filecoin-project/rust-fil-proofs", branch = "hanabi1224-upgrade-deps", default-features = false } +storage-proofs-core = { git = "https://github.com/filecoin-project/rust-fil-proofs", branch = "hanabi1224-upgrade-deps", default-features = false } [features] default = ["opencl", "cuda"] diff --git a/src/update.rs b/src/update.rs index f2c183f5..f7c2c09c 100644 --- a/src/update.rs +++ b/src/update.rs @@ -734,6 +734,12 @@ fn get_sector_update_inputs_inner usize { + let config = registered_proof.as_v1_config(); + + filecoin_proofs_v1::get_sector_update_h_select_from_porep_config(&config) +} + /// Given a `registered_proof`, an aggregate proof, a list of proofs and a combined and flattened /// list of sector update public inputs, this method verifies the aggregate empty sector update proof. ///