snark_verifier_sdk::halo2

Function gen_dummy_snark_from_protocol

Source
pub fn gen_dummy_snark_from_protocol<AS>(
    protocol: PlonkProtocol<G1Affine>,
) -> Snark
Expand description

Creates a dummy snark in the correct shape corresponding to the given Plonk protocol. This dummy snark will not verify. This snark can be used as a placeholder input into an aggregation circuit expecting a snark with this protocol.

Note that this function does not need to know the concrete Circuit type.