diff --git a/plonky2/src/plonk/circuit_builder.rs b/plonky2/src/plonk/circuit_builder.rs index aa0c19a2..a46ddb4e 100644 --- a/plonky2/src/plonk/circuit_builder.rs +++ b/plonky2/src/plonk/circuit_builder.rs @@ -662,15 +662,6 @@ impl, const D: usize> CircuitBuilder { let start = Instant::now(); let rate_bits = self.config.fri_config.rate_bits; - for g in &self.gate_instances { - assert_eq!( - g.gate_ref.0.generators(0, &[F::ZERO; 100]).len(), - g.gate_ref.0.num_ops(), - "{}", - g.gate_ref.0.id() - ); - } - self.fill_batched_gates(); // Hash the public inputs, and route them to a `PublicInputGate` which will enforce that