Feat/add exp gate (#257)
* add exponentiation gate to common_data_for_recursion * fix: use new_from_config Co-authored-by: Eduard S. <eduardsanou@posteo.net> --------- Co-authored-by: Eduard S. <eduardsanou@posteo.net>
This commit is contained in:
parent
7bc0bd08d2
commit
e8edbbc1c5
1 changed files with 1 additions and 0 deletions
|
|
@ -342,6 +342,7 @@ pub fn common_data_for_recursion<I: InnerCircuit>(
|
||||||
GateRef::new(plonky2::gates::random_access::RandomAccessGate::new_from_config(&config, 4)),
|
GateRef::new(plonky2::gates::random_access::RandomAccessGate::new_from_config(&config, 4)),
|
||||||
GateRef::new(plonky2::gates::random_access::RandomAccessGate::new_from_config(&config, 5)),
|
GateRef::new(plonky2::gates::random_access::RandomAccessGate::new_from_config(&config, 5)),
|
||||||
GateRef::new(plonky2::gates::random_access::RandomAccessGate::new_from_config(&config, 6)),
|
GateRef::new(plonky2::gates::random_access::RandomAccessGate::new_from_config(&config, 6)),
|
||||||
|
GateRef::new(plonky2::gates::exponentiation::ExponentiationGate::new_from_config(&config)),
|
||||||
// It would be better do `CosetInterpolationGate::with_max_degree(4, 6)` but unfortunately
|
// It would be better do `CosetInterpolationGate::with_max_degree(4, 6)` but unfortunately
|
||||||
// that plonk2 method is `pub(crate)`, so we need to get around that somehow.
|
// that plonk2 method is `pub(crate)`, so we need to get around that somehow.
|
||||||
GateRef::new(coset_interpolation_gate(
|
GateRef::new(coset_interpolation_gate(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue