added comment for where the custom gate constraints logic should be implemented

This commit is contained in:
Kevin Jue 2023-03-31 10:35:42 -07:00
parent 486fafbce6
commit 57b7937ae8

View File

@ -117,6 +117,8 @@ func (p *PlonkChip) checkPartialProducts(
}
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)