Skip to content

Commit

Permalink
Merge pull request #772 from dusk-network/update_criterion
Browse files Browse the repository at this point in the history
Update criterion
  • Loading branch information
moCello authored Oct 16, 2023
2 parents 1a56273 + 73f3d19 commit d3bcc6a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 56 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Update `criterion` dev-dependency to 0.5

## [0.16.0] - 2023-10-11

### Added
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ backtrace = {version = "0.3", optional = true}
dusk-cdf = {version = "0.5", optional = true}

[dev-dependencies]
criterion = "0.3"
criterion = "0.5"
tempdir = "0.3"
rand = "0.8"
rkyv = {version = "0.7", default-features = false, features = ["size_32"]}
Expand Down
51 changes: 0 additions & 51 deletions refactor_circuit.md

This file was deleted.

2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2022-09-14
nightly-2023-05-24
1 change: 0 additions & 1 deletion src/debugger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ use std::env;
use std::path::PathBuf;

use dusk_bls12_381::BlsScalar;
use dusk_bytes::Serializable;
use dusk_cdf::{
BaseConfig, Config, EncodableConstraint, EncodableSource, EncodableWitness,
Encoder, EncoderContextFileProvider, Polynomial, Selectors, WiredWitnesses,
Expand Down
4 changes: 2 additions & 2 deletions src/permutation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ mod test {
let gamma = BlsScalar::random(&mut OsRng);
assert_ne!(gamma, beta);

//1. Compute the permutation polynomial using both methods
// 1. Compute the permutation polynomial using both methods
let [s_sigma_1_poly, s_sigma_2_poly, s_sigma_3_poly, s_sigma_4_poly] =
perm.compute_sigma_polynomials(n, domain);
let (z_vec, numerator_components, denominator_components) =
Expand Down Expand Up @@ -1048,7 +1048,7 @@ mod test {
}
assert_eq!(a_0 * b_0.invert().unwrap(), BlsScalar::one());

//3. Now we perform the two checks that need to be done on the
// 3. Now we perform the two checks that need to be done on the
// permutation polynomial (z)
let z_poly = Polynomial::from_coefficients_vec(domain.ifft(&z_vec));
//
Expand Down

0 comments on commit d3bcc6a

Please sign in to comment.