pub trait Chip<R, PB: ProverBackend> {
// Required method
fn generate_proving_ctx(&self, records: R) -> AirProvingContext<PB>;
}
Expand description
A chip is a ProverBackend-specific object that converts execution logs (also referred to as records) into a trace matrix.
A chip may be stateful and store state on either host or device, although it is preferred that all state is received through records.
Required Methods§
Sourcefn generate_proving_ctx(&self, records: R) -> AirProvingContext<PB>
fn generate_proving_ctx(&self, records: R) -> AirProvingContext<PB>
Generate all necessary context for proving a single AIR.