Skip to content

Commit

Permalink
fix: remove agg bench output; update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptonemo committed Jun 16, 2021
1 parent b3d849b commit 5421fad
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 29 deletions.
37 changes: 18 additions & 19 deletions rust/Cargo.lock

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

7 changes: 0 additions & 7 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,6 @@ blst-portable = ["bls-signatures/blst-portable", "blstrs/portable"]
gpu = ["filecoin-proofs-api/gpu", "bellperson/gpu", "storage-proofs-porep/gpu"]
multicore-sdr = ["storage-proofs-porep/multicore-sdr"]

[patch.crates-io]
bellperson = { git = "https://github.com/filecoin-project/bellperson", branch = "fix-snarkpack-audit" }
filecoin-proofs-v1 = { package = "filecoin-proofs", git = "https://github.com/filecoin-project/rust-fil-proofs", branch = "finalize-snarkpack", default-features = false }
filecoin-hashers = { git = "https://github.com/filecoin-project/rust-fil-proofs", branch = "finalize-snarkpack", default-features = false, features = ["poseidon", "sha256"] }
fr32 = { git = "https://github.com/filecoin-project/rust-fil-proofs", branch = "finalize-snarkpack", default-features = false }
storage-proofs-core = { git = "https://github.com/filecoin-project/rust-fil-proofs", branch = "finalize-snarkpack", default-features = false }

[[bench]]
name = "aggregation"
harness = false
6 changes: 3 additions & 3 deletions rust/benches/aggregation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ fn agg_verify_benchmark(c: &mut Criterion) -> Result<()> {
let msg = c_str_to_rust_str((*response).error_msg);
panic!("verify_aggregate_seal_proof failed: {:?}", msg);
}
if !(*response).is_valid {
println!("VERIFY FAILED");
}
//if !(*response).is_valid {
// println!("VERIFY FAILED");
//}
})
});

Expand Down

0 comments on commit 5421fad

Please sign in to comment.