Expand description
Helper functions for raw halo2 operations to unify slight differences in API for halo2-axiom and halo2-pse
Traits§
- Keygen
Circuit Intent - This trait should be implemented on the minimal circuit configuration data necessary to
completely determine a circuit (independent of circuit inputs).
This is used to generate a dummy instantiation of a concrete
Circuit
type for the purposes of key generation. This dummy instantiation just needs to have the correct arithmetization format, but the witnesses do not need to satisfy constraints. - Proving
KeyGenerator - Trait for creating a proving key and a pinning for a circuit from minimal circuit configuration data.
Functions§
- constrain_
virtual_ equals_ external - Constrains that
virtual_cell
is equal toexternal_cell
. Thevirtual_cell
must have already been raw assigned with the raw assigned cell stored incopy_manager
unless it is marked an external-only cell with type id EXTERNAL_CELL_TYPE_ID. - raw_
assign_ advice - Assign advice to physical region.
- raw_
assign_ fixed - Assign fixed to physical region.
- raw_
constrain_ equal - Constrain two physical cells to be equal.
Type Aliases§
- Halo2
Assigned Cell - Raw (physical) assigned cell in Plonkish arithmetization.