diff --git a/src/spartan/batched.rs b/src/spartan/batched.rs index a994230b6..7657567fc 100644 --- a/src/spartan/batched.rs +++ b/src/spartan/batched.rs @@ -6,7 +6,6 @@ use ff::Field; use serde::{Deserialize, Serialize}; -use abomonation::Abomonation; use itertools::Itertools; use once_cell::sync::OnceCell; use rayon::prelude::*; @@ -103,8 +102,6 @@ impl> DigestHelperTrait for VerifierK impl> BatchedRelaxedR1CSSNARKTrait for BatchedRelaxedR1CSSNARK -where - ::Repr: Abomonation, { type ProverKey = ProverKey; diff --git a/src/spartan/batched_ppsnark.rs b/src/spartan/batched_ppsnark.rs index c7f770720..e0a8ecdda 100644 --- a/src/spartan/batched_ppsnark.rs +++ b/src/spartan/batched_ppsnark.rs @@ -34,8 +34,7 @@ use crate::{ }, zip_with, zip_with_for_each, Commitment, CommitmentKey, CompressedCommitment, }; -use abomonation::Abomonation; -use ff::{Field, PrimeField}; +use ff::Field; use itertools::{chain, Itertools as _}; use once_cell::sync::*; use rayon::prelude::*; @@ -126,8 +125,6 @@ pub struct BatchedRelaxedR1CSSNARK> { impl> BatchedRelaxedR1CSSNARKTrait for BatchedRelaxedR1CSSNARK -where - ::Repr: Abomonation, { type ProverKey = ProverKey; type VerifierKey = VerifierKey; @@ -1088,10 +1085,7 @@ where } } -impl> BatchedRelaxedR1CSSNARK -where - ::Repr: Abomonation, -{ +impl> BatchedRelaxedR1CSSNARK { /// Runs the batched Sumcheck protocol for the claims of multiple instance of possibly different sizes. /// /// # Details diff --git a/src/spartan/ppsnark.rs b/src/spartan/ppsnark.rs index a7af68e87..66b118fed 100644 --- a/src/spartan/ppsnark.rs +++ b/src/spartan/ppsnark.rs @@ -325,8 +325,7 @@ pub struct RelaxedR1CSSNARK> { eval_arg: EE::EvaluationArgument, } -impl> RelaxedR1CSSNARK -{ +impl> RelaxedR1CSSNARK { fn prove_helper( mem: &mut T1, outer: &mut T2, @@ -465,8 +464,7 @@ impl> DigestHelperTrait for VerifierK } } -impl> RelaxedR1CSSNARKTrait for RelaxedR1CSSNARK -{ +impl> RelaxedR1CSSNARKTrait for RelaxedR1CSSNARK { type ProverKey = ProverKey; type VerifierKey = VerifierKey;