@@ -45,8 +45,11 @@ use kimchi::proof::{PointEvaluations, ProverCommitments, RecursionChallenge};
4545use mina_curves:: pasta:: { Fp , Fq , Pallas , VestaParameters } ;
4646use mina_p2p_messages:: { bigint:: InvalidBigInt , v2} ;
4747use mina_poseidon:: {
48- constants:: PlonkSpongeConstantsKimchi , pasta:: FULL_ROUNDS , poseidon:: { ArithmeticSponge , Sponge } ,
49- sponge:: DefaultFqSponge , FqSponge ,
48+ constants:: PlonkSpongeConstantsKimchi ,
49+ pasta:: FULL_ROUNDS ,
50+ poseidon:: { ArithmeticSponge , Sponge } ,
51+ sponge:: DefaultFqSponge ,
52+ FqSponge ,
5053} ;
5154use poly_commitment:: { commitment:: b_poly_coefficients, ipa:: OpeningProof } ;
5255use std:: rc:: Rc ;
@@ -2011,9 +2014,10 @@ pub fn expand_deferred(params: ExpandDeferredParams) -> anyhow::Result<DeferredV
20112014 sponge. squeeze ( )
20122015 } ;
20132016
2014- let mut sponge = DefaultFqSponge :: < VestaParameters , PlonkSpongeConstantsKimchi , FULL_ROUNDS > :: new (
2015- mina_poseidon:: pasta:: fq_kimchi:: static_params ( ) ,
2016- ) ;
2017+ let mut sponge =
2018+ DefaultFqSponge :: < VestaParameters , PlonkSpongeConstantsKimchi , FULL_ROUNDS > :: new (
2019+ mina_poseidon:: pasta:: fq_kimchi:: static_params ( ) ,
2020+ ) ;
20172021 sponge. absorb_fq ( & to_fqs ( & [ four_u64_to_field (
20182022 & proof_state. sponge_digest_before_evaluations ,
20192023 ) ?] ) ) ;
@@ -2707,18 +2711,10 @@ pub struct StepProof {
27072711}
27082712
27092713fn to_fqs ( fps : & [ Fp ] ) -> Vec < Fq > {
2710-
27112714 fps. iter ( ) . map ( |fp| Fq :: from ( ( * fp) . into_bigint ( ) ) ) . collect ( )
2712-
27132715}
27142716
2715-
2716-
2717-
2718-
2719- pub fn step <
2720-
2721- C : ProofConstants , const N_PREVIOUS : usize > (
2717+ pub fn step < C : ProofConstants , const N_PREVIOUS : usize > (
27222718 params : StepParams < N_PREVIOUS > ,
27232719 w : & mut Witness < Fp > ,
27242720) -> anyhow:: Result < StepProof > {
0 commit comments