Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Dec 5, 2023
1 parent 8664108 commit 8de5553
Show file tree
Hide file tree
Showing 34 changed files with 65 additions and 3 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,3 @@ We welcome all contributions! There are many ways to contribute to the project,
- [EigenLayer/EigenDA forum](https://forum.eigenlayer.xyz/c/eigenda/9)
- [Email](mailto:[email protected])
- [Follow us on Twitter](https://twitter.com/eigenlayer)

## Acknowledgement
Cryptographic library inside pkg/kzg are copied from https://github.com/protolambda/go-kzg. All functions will be replaced by our own implementation in the future.
2 changes: 2 additions & 0 deletions pkg/kzg/bn254/bignum_gnark.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/bn254/bignum_gnark_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/bn254/bn254_all.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/bn254/bn254_all_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
1 change: 1 addition & 0 deletions pkg/kzg/bn254/globals_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

package bn254

import (
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/das_extension.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/das_extension_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/errors.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/fft.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/fft_fr.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/fft_fr_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/fft_g1.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/fk20_multi.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/fk20_multi_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/fk20_single.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/fk20_single_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/integration_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/kzg.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/kzg_multi_proofs.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/kzg_multi_proofs_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/kzg_single_proofs.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/kzg_single_proofs_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/legacy_recover_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/legacy_recovery.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/poly.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/recover_from_samples.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/recover_from_samples_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/reverse_bit_order.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/reverse_bit_order_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/setup.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/srs.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/zero_poly.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down
2 changes: 2 additions & 0 deletions pkg/kzg/zero_poly_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This code is sourced from the go-kzg Repository by protolambda.
// Original code: https://github.com/protolambda/go-kzg
// MIT License
//
// Copyright (c) 2020 @protolambda
Expand Down

0 comments on commit 8de5553

Please sign in to comment.