Skip to content

Commit

Permalink
feat: removed id_ID, id_LOne
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasPiellard committed Jan 13, 2025
1 parent 043e5cf commit c2777b3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions backend/plonk/bn254/prove.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ const (
id_S1
id_S2
id_S3
id_ID
id_LOne
id_Qci // [ .. , Qc_i, Pi_i, ...]
)

Expand Down Expand Up @@ -524,8 +522,6 @@ func (s *instance) computeQuotient() (err error) {
identity := make([]fr.Element, n)
identity[1].Set(&s.beta)

s.x[id_ID] = iop.NewPolynomial(&identity, iop.Form{Basis: iop.Canonical, Layout: iop.Regular})
s.x[id_LOne] = iop.NewPolynomial(&lone, iop.Form{Basis: iop.Lagrange, Layout: iop.Regular})
s.x[id_ZS] = s.x[id_Z].ShallowClone().Shift(1)

numerator, err := s.computeNumerator()
Expand Down Expand Up @@ -1005,8 +1001,6 @@ func (s *instance) computeNumerator() (*iop.Polynomial, error) {

// scale everything back
go func() {
s.x[id_ID] = nil
s.x[id_LOne] = nil
s.x[id_ZS] = nil
s.x[id_Qk] = nil

Expand Down

0 comments on commit c2777b3

Please sign in to comment.