Skip to content

Commit

Permalink
Fix the no_std prblems
Browse files Browse the repository at this point in the history
  • Loading branch information
drskalman committed Oct 8, 2024
1 parent 7a1f3ff commit 5a8d95e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions common/src/gadgets/powers_of_two_multiples.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use ark_ec::{AffineRepr, CurveGroup, Group};
use ark_ff::{FftField, Field, PrimeField};
use ark_poly::univariate::DensePolynomial;
use ark_poly::{Evaluations, GeneralEvaluationDomain};
use ark_std::vec::Vec;
use ark_std::{vec, vec::Vec};

use crate::domain::Domain;
use crate::gadgets::{ProverGadget, VerifierGadget};
Expand Down Expand Up @@ -253,7 +253,6 @@ mod tests {
let point = EdwardsAffine::rand(rng);

let scalar_bitlen = domain.capacity; //<EdwardsAffine as AffineRepr>::ScalarField::MODULUS_BIT_SIZE as usize;
println!("length of column:{}", scalar_bitlen);
let expected_res = power_of_two_multiple(point, scalar_bitlen);

let gadget = PowersOfTwoMultiplesTE::init(point, &domain);
Expand Down
1 change: 1 addition & 0 deletions common/src/verifier.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use ark_ff::{Field, PrimeField};
use ark_serialize::CanonicalSerialize;
use ark_std::rand::Rng;
use ark_std::{vec, vec::Vec};
use fflonk::pcs::{Commitment, PcsParams, PCS};
use rand_core::RngCore;

Expand Down

0 comments on commit 5a8d95e

Please sign in to comment.