`StepCircuit` trait
Trait
pub trait StepCircuit<const ARITY: usize, F: PrimeField> {
type Config: Clone;
fn configure(cs: &mut ConstraintSystem<F>) -> Self::Config;
fn synthesize_step(
&self,
config: Self::Config,
layouter: &mut impl Layouter<F>,
z_i: &[AssignedCell<F, F>; ARITY],
) -> Result<[AssignedCell<F, F>; ARITY], SynthesisError>;
fn process_step(
&self,
z_i: &[F; ARITY],
k_table_size: u32,
) -> Result<[F; ARITY], SynthesisError>;
}Last updated