Documentation ¶
Index ¶
- func SyncCommitteeRoot[FR emulated.FieldParams, G1El algebra.G1ElementT, G2El algebra.G2ElementT, ...](api frontend.API, verifyingKey plonk.VerifyingKey[FR, G1El, G2El], ...) (*sync_committee_gadget.SyncCommitteeRoot[FR], frontend.Variable, error)
- type QuarterSyncCommitteeCircuit
- type SyncCommitteeRootCircuit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SyncCommitteeRoot ¶
func SyncCommitteeRoot[FR emulated.FieldParams, G1El algebra.G1ElementT, G2El algebra.G2ElementT, GtEl algebra.GtElementT]( api frontend.API, verifyingKey plonk.VerifyingKey[FR, G1El, G2El], verifyingKeyFp chainark.FingerPrint[FR], proofs []plonk.Proof[FR, G1El, G2El], witnesses []plonk.Witness[FR], pubKeys [common.LenOfValidators]sw_bls12381.G1Affine, ) (*sync_committee_gadget.SyncCommitteeRoot[FR], frontend.Variable, error)
Types ¶
type QuarterSyncCommitteeCircuit ¶
type QuarterSyncCommitteeCircuit struct { PubKeys [common.QuarterLenOfValidators]sw_bls12381.G1Affine QuarterSSZRoot [common.LenOfHash]uints.U8 `gnark:",public"` QuarterMiMCRoot frontend.Variable `gnark:",public"` }
type SyncCommitteeRootCircuit ¶
type SyncCommitteeRootCircuit[FR emulated.FieldParams, G1El algebra.G1ElementT, G2El algebra.G2ElementT, GtEl algebra.GtElementT] struct { VerifyingKey plonk.VerifyingKey[FR, G1El, G2El] `gnark:"-"` VKeyFpBytes chainark.FingerPrintBytes Proofs []plonk.Proof[FR, G1El, G2El] Witnesses []plonk.Witness[FR] PubKeys [common.LenOfValidators]sw_bls12381.G1Affine SyncCommitteeRoot sync_committee_gadget.SyncCommitteeRoot[FR] `gnark:",public"` MiMCRoot frontend.Variable `gnark:",public"` }
Click to show internal directories.
Click to hide internal directories.