mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-08 08:43:06 +00:00
Fix proof compression test
This commit is contained in:
parent
6aaea002ed
commit
e06ce5aa2f
@ -310,6 +310,7 @@ mod tests {
|
||||
use crate::field::field_types::Field;
|
||||
use crate::field::goldilocks_field::GoldilocksField;
|
||||
use crate::fri::reduction_strategies::FriReductionStrategy;
|
||||
use crate::gates::noop::NoopGate;
|
||||
use crate::iop::witness::PartialWitness;
|
||||
use crate::plonk::circuit_builder::CircuitBuilder;
|
||||
use crate::plonk::circuit_data::CircuitConfig;
|
||||
@ -336,6 +337,9 @@ mod tests {
|
||||
let zt = builder.constant(z);
|
||||
let comp_zt = builder.mul(xt, yt);
|
||||
builder.connect(zt, comp_zt);
|
||||
for _ in 0..100 {
|
||||
builder.add_gate(NoopGate, vec![]);
|
||||
}
|
||||
let data = builder.build();
|
||||
let proof = data.prove(pw)?;
|
||||
verify(proof.clone(), &data.verifier_only, &data.common)?;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user