mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-07 08:13:11 +00:00
Minor
This commit is contained in:
parent
38f4cca3f5
commit
fbeedd47d3
@ -112,7 +112,7 @@ impl<F: Extendable<D>, const D: usize> CircuitBuilder<F, D> {
|
|||||||
);
|
);
|
||||||
|
|
||||||
let precomputed_reduced_evals =
|
let precomputed_reduced_evals =
|
||||||
PrecomputedReducedEvalsTarget::from_os_and_alpha(&os, alpha, self);
|
PrecomputedReducedEvalsTarget::from_os_and_alpha(os, alpha, self);
|
||||||
for round_proof in &proof.query_round_proofs {
|
for round_proof in &proof.query_round_proofs {
|
||||||
self.fri_verifier_query_round(
|
self.fri_verifier_query_round(
|
||||||
zeta,
|
zeta,
|
||||||
|
|||||||
@ -8,7 +8,7 @@ use crate::fri::FriConfig;
|
|||||||
use crate::hash::hash_n_to_1;
|
use crate::hash::hash_n_to_1;
|
||||||
use crate::merkle_proofs::verify_merkle_proof;
|
use crate::merkle_proofs::verify_merkle_proof;
|
||||||
use crate::plonk_challenger::Challenger;
|
use crate::plonk_challenger::Challenger;
|
||||||
use crate::plonk_common::{reduce_with_powers, PlonkPolynomials};
|
use crate::plonk_common::PlonkPolynomials;
|
||||||
use crate::proof::{FriInitialTreeProof, FriProof, FriQueryRound, Hash, OpeningSet};
|
use crate::proof::{FriInitialTreeProof, FriProof, FriQueryRound, Hash, OpeningSet};
|
||||||
use crate::util::scaling::ReducingFactor;
|
use crate::util::scaling::ReducingFactor;
|
||||||
use crate::util::{log2_strict, reverse_bits, reverse_index_bits_in_place};
|
use crate::util::{log2_strict, reverse_bits, reverse_index_bits_in_place};
|
||||||
@ -112,7 +112,7 @@ pub fn verify_fri_proof<F: Field + Extendable<D>, const D: usize>(
|
|||||||
"Number of reductions should be non-zero."
|
"Number of reductions should be non-zero."
|
||||||
);
|
);
|
||||||
|
|
||||||
let precomputed_reduced_evals = PrecomputedReducedEvals::from_os_and_alpha(&os, alpha);
|
let precomputed_reduced_evals = PrecomputedReducedEvals::from_os_and_alpha(os, alpha);
|
||||||
for round_proof in &proof.query_round_proofs {
|
for round_proof in &proof.query_round_proofs {
|
||||||
fri_verifier_query_round(
|
fri_verifier_query_round(
|
||||||
zeta,
|
zeta,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user