mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-05-02 00:03:13 +00:00
Remove total_constraints (#372)
It's out of date, and unused now anyway.
This commit is contained in:
parent
9b55ff9e81
commit
2b4bb13ab0
@ -246,11 +246,6 @@ impl<F: RichField + Extendable<D>, const D: usize> CommonCircuitData<F, D> {
|
|||||||
self.quotient_degree_factor * self.degree()
|
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`.
|
/// Range of the constants polynomials in the `constants_sigmas_commitment`.
|
||||||
pub fn constants_range(&self) -> Range<usize> {
|
pub fn constants_range(&self) -> Range<usize> {
|
||||||
0..self.num_constants
|
0..self.num_constants
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user