Skip to content

Commit 145ed61

Browse files
committed
[kimchi] add a getter to shifts
1 parent 20fe6da commit 145ed61

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

circuits/plonk-15-wires/src/nolookup/constraints.rs

+5
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,11 @@ where
214214
Self { shifts, map }
215215
}
216216

217+
/// retrieve the shifts
218+
pub fn shifts(&self) -> &[F; PERMUTS] {
219+
&self.shifts
220+
}
221+
217222
/// sample coordinate shifts deterministically
218223
fn sample(domain: &D<F>, input: &mut u32) -> F {
219224
let mut h = Blake2b::new();

0 commit comments

Comments
 (0)