Skip to content

Commit

Permalink
[kimchi] add a getter to shifts
Browse files Browse the repository at this point in the history
  • Loading branch information
mimoo committed Oct 28, 2021
1 parent 04c7cd3 commit 923799b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions circuits/plonk-15-wires/src/nolookup/constraints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,11 @@ where
Self { shifts, map }
}

/// retrieve the shifts
pub fn shifts(&self) -> &[F; PERMUTS] {
&self.shifts
}

/// sample coordinate shifts deterministically
fn sample(domain: &D<F>, input: &mut u32) -> F {
let mut h = Blake2b::new();
Expand Down

0 comments on commit 923799b

Please sign in to comment.