Skip to content

Commit

Permalink
Merge pull request #2 from ThomasPiellard/audit/N-01
Browse files Browse the repository at this point in the history
style: cleaner computation nb BSB commitments
  • Loading branch information
ThomasPiellard authored Jul 2, 2024
2 parents 3330ad0 + 8662c56 commit d1e7512
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion backend/plonk/bls12-377/prove.go

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

2 changes: 1 addition & 1 deletion backend/plonk/bls12-381/prove.go

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

2 changes: 1 addition & 1 deletion backend/plonk/bls24-315/prove.go

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

2 changes: 1 addition & 1 deletion backend/plonk/bls24-317/prove.go

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

2 changes: 1 addition & 1 deletion backend/plonk/bn254/prove.go

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

2 changes: 1 addition & 1 deletion backend/plonk/bw6-633/prove.go

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

2 changes: 1 addition & 1 deletion 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 @@ -742,7 +742,7 @@ func (s *instance) computeNumerator() (*iop.Polynomial, error) {
case <-s.chQk:
}

nbBsbGates := (len(s.x) - id_Qci + 1) >> 1
nbBsbGates := len(s.proof.Bsb22Commitments)

gateConstraint := func(u ...fr.Element) fr.Element {

Expand Down

0 comments on commit d1e7512

Please sign in to comment.