Module zkevm_circuits::root_circuit
source · Expand description
The Root circuit implementation.
Re-exports§
pub use self::RootCircuit as TestRootCircuit;
Structs§
- Aggregation configuration.
- Configuration for converting a [
VerifyingKey
] of [halo2_proofs
] into [PlonkProtocol
]. - Transcript for verifier on EVM using keccak256 as hasher.
Loader
implementation in native rust.- RootCircuit for aggregating SuperCircuit into a much smaller proof.
- Snark contains the minimal information for verification
- SnarkWitness
- Aggregation circuit for testing purpose.
- UserChallenge
Constants§
- Number of bits of each decomposed limb.
- Number of limbs to decompose a elliptic curve base field element into.
Functions§
- Aggregate snarks into a single accumulator and decompose it into
4 * LIMBS
limbs. ReturnsNone
if any given snarks is invalid. - Convert a [
VerifyingKey
] of [halo2_proofs
] into [PlonkProtocol
].
Type Aliases§
BaseFieldEccChip
with hardcodedLIMBS
andBITS
serving asEccChip
forHalo2Loader
.- KZG accumulation scheme with GWC19 multiopen.
Halo2Loader
with hardcodedEccChip
.- KZG deciding key
- KZG succinct verifying key
- Plonk succinct verifier with
KzgAs
- Plonk verifier with
KzgAs
andLimbsEncoding<LIMBS, BITS>
. PoseidonTranscript
with hardcoded parameter with 128-bits security.- KZG accumulation scheme with BDFG21 multiopen.