Skip to content

Commit

Permalink
chore: more efficient kzg commitment generation
Browse files Browse the repository at this point in the history
  • Loading branch information
epociask committed Jun 5, 2024
1 parent 66915b2 commit 8ccc37a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions verify/verifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,7 @@ func (v *Verifier) Verify(cert eigenda.Cert, blob []byte) error {
return fmt.Errorf("cannot convert bytes to field elements, %w", err)
}

poly, _, _, err := encoder.Encoder.Encode(inputFr)
if err != nil {
return err
}

commit, err := encoder.Commit(poly.Coeffs)
commit, err := encoder.Commit(inputFr)
if err != nil {
return err
}
Expand Down

0 comments on commit 8ccc37a

Please sign in to comment.