Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
anupsv committed May 21, 2024
1 parent 9e1b6ca commit 702b63d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/helpers.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use std::cmp;
use ark_bn254::{Fq, Fq2, Fr, G1Affine, G1Projective, G2Affine, G2Projective};
use ark_ec::AffineRepr;

use ark_ff::{sbb, BigInt, BigInteger, Field, LegendreSymbol, PrimeField};
use crossbeam_channel::Receiver;
use ark_std::{str::FromStr, vec::Vec, One, Zero};
Expand Down
3 changes: 2 additions & 1 deletion src/kzg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use num_traits::ToPrimitive;
use crate::blob::Blob;
use crate::consts::BYTES_PER_FIELD_ELEMENT;
use crate::errors::KzgError;
use crate::helpers::{self, is_on_curve_g2};
use crate::helpers;
use crate::polynomial::Polynomial;
use crate::traits::ReadPointFromBytes;
use ark_poly::{EvaluationDomain, GeneralEvaluationDomain};
Expand Down Expand Up @@ -495,6 +495,7 @@ fn test_g2_power_of_2_readin(){
use std::io::BufRead;
use ark_bn254::{Fq, Fq2};
use ark_bn254::G2Projective;
use crate::helpers::is_on_curve_g2;

let kzg = Kzg::setup(
"src/test-files/g1.point",
Expand Down

0 comments on commit 702b63d

Please sign in to comment.