Fix degree issue

This commit is contained in:
wborgeaud 2022-01-31 21:05:23 +01:00
parent 92ea4b65d1
commit b0738c2094
3 changed files with 3 additions and 1 deletions

View File

@ -120,6 +120,6 @@ mod tests {
&mut TimingTree::default(),
)?;
verify(stark, proof, &config, num_rows)
verify(stark, proof, &config, 5)
}
}

View File

@ -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();

View File

@ -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)
}