Skip to content

Commit

Permalink
Merge pull request #25 from Layr-Labs/epociask--chore-faster-commitme…
Browse files Browse the repository at this point in the history
…nt-generation

chore: more efficient kzg commitment generation
  • Loading branch information
epociask authored Jun 5, 2024
2 parents 66915b2 + 8ccc37a commit c8b5c14
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 c8b5c14

Please sign in to comment.