Skip to content

Commit 7066356

Browse files
committed
add exponentiation gate to common_data_for_recursion
1 parent 0467e79 commit 7066356

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backends/plonky2/recursion/circuit.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ pub fn common_data_for_recursion<I: InnerCircuit>(
342342
GateRef::new(plonky2::gates::random_access::RandomAccessGate::new_from_config(&config, 4)),
343343
GateRef::new(plonky2::gates::random_access::RandomAccessGate::new_from_config(&config, 5)),
344344
GateRef::new(plonky2::gates::random_access::RandomAccessGate::new_from_config(&config, 6)),
345+
GateRef::new(plonky2::gates::exponentiation::ExponentiationGate::new(66)),
345346
// It would be better do `CosetInterpolationGate::with_max_degree(4, 6)` but unfortunately
346347
// that plonk2 method is `pub(crate)`, so we need to get around that somehow.
347348
GateRef::new(coset_interpolation_gate(

0 commit comments

Comments
 (0)