Skip to content

Commit 2cd5f22

Browse files
authored
crypto/kzg4844: use package github.com/crate-crypto/go-eth-kzg (ethereum#31806)
I saw in ethereum#31378 introduced github.com/crate-crypto/go-eth-kzg to calculate the kzg hash, and github.com/crate-crypto/go-kzg-4844 was only used in the test files, so propose to drop it with go-eth-kzg instead
1 parent c7bdf6b commit 2cd5f22

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

crypto/kzg4844/kzg4844_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"testing"
2222

2323
"github.com/consensys/gnark-crypto/ecc/bls12-381/fr"
24-
gokzg4844 "github.com/crate-crypto/go-kzg-4844"
24+
gokzg4844 "github.com/crate-crypto/go-eth-kzg"
2525
)
2626

2727
func randFieldElement() [32]byte {

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ require (
1616
github.com/consensys/gnark-crypto v0.16.0
1717
github.com/crate-crypto/go-eth-kzg v1.3.0
1818
github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a
19-
github.com/crate-crypto/go-kzg-4844 v1.1.0
2019
github.com/davecgh/go-spew v1.1.1
2120
github.com/deckarep/golang-set/v2 v2.6.0
2221
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ github.com/crate-crypto/go-eth-kzg v1.3.0 h1:05GrhASN9kDAidaFJOda6A4BEvgvuXbazXg
8484
github.com/crate-crypto/go-eth-kzg v1.3.0/go.mod h1:J9/u5sWfznSObptgfa92Jq8rTswn6ahQWEuiLHOjCUI=
8585
github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a h1:W8mUrRp6NOVl3J+MYp5kPMoUZPp7aOYHtaua31lwRHg=
8686
github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a/go.mod h1:sTwzHBvIzm2RfVCGNEBZgRyjwK40bVoun3ZnGOCafNM=
87-
github.com/crate-crypto/go-kzg-4844 v1.1.0 h1:EN/u9k2TF6OWSHrCCDBBU6GLNMq88OspHHlMnHfoyU4=
88-
github.com/crate-crypto/go-kzg-4844 v1.1.0/go.mod h1:JolLjpSff1tCCJKaJx4psrlEdlXuJEC996PL3tTAFks=
8987
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
9088
github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4=
9189
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=

0 commit comments

Comments
 (0)