pub fn keygen_halo2(
halo2_config: &Halo2Config,
reader: &impl Halo2ParamsReader,
shape: StaticVerifierShape,
internal_recursive_vk: &MultiStarkVerifyingKey<SC>,
root_vk: &MultiStarkVerifyingKey<RootSC>,
dummy_root_proof: &Proof<RootSC>,
) -> Halo2ProvingKeyExpand description
Generate a Halo2ProvingKey (static verifier + wrapper) by running a
dummy root proof through the pipeline.
This is the self-contained keygen flow:
- Build a [
StaticVerifierProvingKey] from the root VK and proof shape - Generate a dummy snark from the static verifier
- Build a [
Halo2WrapperProvingKey] (auto-tuned or fixedk) - Return the composite
Halo2ProvingKey