Remove total_constraints (#372)

It's out of date, and unused now anyway.
This commit is contained in:
Daniel Lubarov 2021-11-18 23:00:56 -08:00 committed by GitHub
parent 9b55ff9e81
commit 2b4bb13ab0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -246,11 +246,6 @@ impl<F: RichField + Extendable<D>, const D: usize> CommonCircuitData<F, D> {
self.quotient_degree_factor * self.degree()
}
pub fn total_constraints(&self) -> usize {
// 2 constraints for each Z check.
self.config.num_challenges * 2 + self.num_gate_constraints
}
/// Range of the constants polynomials in the `constants_sigmas_commitment`.
pub fn constants_range(&self) -> Range<usize> {
0..self.num_constants