From 9eda81c293a17dbd30ce6e37b4f6f31a069f6188 Mon Sep 17 00:00:00 2001 From: Nicholas Ward Date: Thu, 29 Jul 2021 15:31:04 -0700 Subject: [PATCH] minor changes --- src/gates/exponentiation.rs | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/gates/exponentiation.rs b/src/gates/exponentiation.rs index ef1786f5..2f33e5d9 100644 --- a/src/gates/exponentiation.rs +++ b/src/gates/exponentiation.rs @@ -28,7 +28,7 @@ impl, const D: usize> ExponentiationGate { } } - pub fn max_power_bits(num_wires: usize, num_routed_wires: usize) -> usize { + fn max_power_bits(num_wires: usize, num_routed_wires: usize) -> usize { let max_for_routed_wires = num_routed_wires - 3; let max_for_wires = (num_wires - 3) / 2; max_for_routed_wires.min(max_for_wires) @@ -297,15 +297,7 @@ mod tests { let config = CircuitConfig { num_wires: 120, num_routed_wires: 30, - security_bits: 0, - rate_bits: 0, - num_challenges: 0, - zero_knowledge: false, - fri_config: FriConfig { - proof_of_work_bits: 0, - reduction_arity_bits: Vec::new(), - num_query_rounds: 0, - }, + ..CircuitConfig::large_config() }; test_low_degree::(ExponentiationGate::new(config));