Browse Source

Fixed curve-bench compile error (#83)

* Fixed benchmarking compile error

* Updated CHANGELOG

* patch `algebra-test-templates` due to breaking changes since the last release

Co-authored-by: Marcin Górny <marcin.gorny.94@protonmail.com>
update-to-latest-arkworks
Michael Rosenberg 3 years ago
committed by GitHub
parent
commit
c5547905d0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -0
      Cargo.toml
  3. +1
    -1
      curve-benches/src/macros/ec.rs

+ 1
- 0
CHANGELOG.md

@ -3,6 +3,7 @@
## Pending
- [\#76](https://github.com/arkworks-rs/curves/pull/76) twisted Edwards parameters for bls12-377
- Fixed curve benches
### Breaking changes

+ 1
- 0
Cargo.toml

@ -62,3 +62,4 @@ debug = true
ark-ec = { git = "https://github.com/arkworks-rs/algebra" }
ark-ff = { git = "https://github.com/arkworks-rs/algebra" }
ark-serialize = { git = "https://github.com/arkworks-rs/algebra" }
ark-algebra-test-templates = { git = "https://github.com/arkworks-rs/algebra" }

+ 1
- 1
curve-benches/src/macros/ec.rs

@ -234,7 +234,7 @@ macro_rules! ec_bench {
.map(|_| Fr::rand(&mut rng).into_repr())
.collect();
b.bench_n(1, |b| {
b.iter(|| ark_ec::msm::VariableBaseMSM::multi_scalar_mul(&v, &scalars));
b.iter(|| ark_ec::msm::VariableBase::msm(&v, &scalars));
})
}

Loading…
Cancel
Save