mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-05 15:23:06 +00:00
Fix degree issue
This commit is contained in:
parent
92ea4b65d1
commit
b0738c2094
@ -120,6 +120,6 @@ mod tests {
|
||||
&mut TimingTree::default(),
|
||||
)?;
|
||||
|
||||
verify(stark, proof, &config, num_rows)
|
||||
verify(stark, proof, &config, 5)
|
||||
}
|
||||
}
|
||||
|
||||
@ -24,6 +24,7 @@ fn get_challenges<F: RichField + Extendable<D>, C: GenericConfig<D, F = F>, cons
|
||||
let num_challenges = config.num_challenges;
|
||||
let num_fri_queries = config.fri_config.num_query_rounds;
|
||||
let lde_size = 1 << (degree_bits + config.fri_config.rate_bits);
|
||||
dbg!(lde_size);
|
||||
|
||||
let mut challenger = Challenger::<F, C::Hasher>::new();
|
||||
|
||||
|
||||
@ -31,6 +31,7 @@ where
|
||||
[(); S::PUBLIC_INPUTS]:,
|
||||
{
|
||||
let challenges = proof_with_pis.get_challenges(config, degree_bits)?;
|
||||
dbg!(&challenges.fri_challenges.fri_query_indices);
|
||||
verify_with_challenges(stark, proof_with_pis, challenges, config)
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user