added comment for where the custom gate constraints logic should be implemented
Kevin Jue kevin@Kevins-MBP.monkeybrains.net
Fri, 31 Mar 2023 10:35:42 -0700
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
plonky2_verifier/plonk.go
→
plonky2_verifier/plonk.go
@@ -117,6 +117,8 @@ return partialProductChecks
} func (p *PlonkChip) evalVanishingPoly(proofChallenges ProofChallenges, openings OpeningSet, zetaPowN QuadraticExtension) []QuadraticExtension { + // TODO: evaluate_gate_contraints logic should be implemented here. See https://github.com/mir-protocol/plonky2/blob/main/plonky2/src/plonk/vanishing_poly.rs#L39 + // Calculate the k[i] * x sIDs := make([]QuadraticExtension, p.commonData.Config.NumRoutedWires)