mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
crypto: move from go-kzg-4844 to go-eth-kzg
This commit is contained in:
parent
f4e5e73edf
commit
b3ff7b0fa8
2 changed files with 5 additions and 1 deletions
|
|
@ -183,5 +183,8 @@ func IsValidVersionedHash(h []byte) bool {
|
||||||
}
|
}
|
||||||
|
|
||||||
func ComputeCells(blob *Blob) ([]Proof, error) {
|
func ComputeCells(blob *Blob) ([]Proof, error) {
|
||||||
|
if useCKZG.Load() {
|
||||||
return ckzgComputeCells(blob)
|
return ckzgComputeCells(blob)
|
||||||
}
|
}
|
||||||
|
return gokzgComputeCells(blob)
|
||||||
|
}
|
||||||
|
|
|
||||||
1
go.mod
1
go.mod
|
|
@ -101,6 +101,7 @@ require (
|
||||||
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
|
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
|
||||||
github.com/consensys/bavard v0.1.27 // indirect
|
github.com/consensys/bavard v0.1.27 // indirect
|
||||||
github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect
|
github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect
|
||||||
|
github.com/crate-crypto/go-eth-kzg v1.3.0 // indirect
|
||||||
github.com/deepmap/oapi-codegen v1.6.0 // indirect
|
github.com/deepmap/oapi-codegen v1.6.0 // indirect
|
||||||
github.com/dlclark/regexp2 v1.7.0 // indirect
|
github.com/dlclark/regexp2 v1.7.0 // indirect
|
||||||
github.com/ethereum/c-kzg-4844/v2 v2.0.1 // indirect
|
github.com/ethereum/c-kzg-4844/v2 v2.0.1 // indirect
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue