Skip to content

Commit

Permalink
Merge branch 'refactor/cleanupplonkprover' of github.com:ConsenSys/gn…
Browse files Browse the repository at this point in the history
…ark into refactor/cleanupplonkprover
  • Loading branch information
gbotrel committed Oct 11, 2023
2 parents c0aa7e7 + 7a60c8d commit 66f36b0
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 48 deletions.
7 changes: 1 addition & 6 deletions backend/plonk/bls12-377/prove.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions backend/plonk/bls12-381/prove.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions backend/plonk/bls24-315/prove.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions backend/plonk/bls24-317/prove.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions backend/plonk/bn254/prove.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions backend/plonk/bw6-633/prove.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions backend/plonk/bw6-761/prove.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,7 @@ func (s *instance) bsb22Hint(commDepth int) solver.Hint {
return err
}
s.cCommitments[commDepth] = iop.NewPolynomial(&committedValues, iop.Form{Basis: iop.Lagrange, Layout: iop.Regular})
s.cCommitments[commDepth].ToCanonical(&s.pk.Domain[0]).ToRegular()
if s.proof.Bsb22Commitments[commDepth], err = kzg.Commit(s.cCommitments[commDepth].Coefficients(), s.pk.Kzg); err != nil {
if s.proof.Bsb22Commitments[commDepth], err = kzg.Commit(s.cCommitments[commDepth].Coefficients(), s.pk.KzgLagrange); err != nil {
return err
}
if hashRes, err = fr.Hash(s.proof.Bsb22Commitments[commDepth].Marshal(), []byte("BSB22-Plonk"), 1); err != nil {
Expand Down Expand Up @@ -762,10 +761,6 @@ func (s *instance) batchOpening() error {
case <-s.chLinearizedPolynomial:
}

// PrintState(*s.x[id_L])
// PrintState(*s.x[id_R])
// PrintState(*s.x[id_O])

polysToOpen[0] = s.foldedH
polysToOpen[1] = s.linearizedPolynomial
polysToOpen[2] = getBlindedCoefficients(s.x[id_L], s.bp[id_Bl])
Expand Down

0 comments on commit 66f36b0

Please sign in to comment.