mirror of
https://github.com/luxfi/crypto.git
synced 2026-07-27 01:54:50 +00:00
fix: make CellProofsPerBlob a const for use in const expressions
Required for geth to use luxfi/crypto/kzg4844 as the kzg4844 package.
This commit is contained in:
+4
-2
@@ -30,12 +30,14 @@ import (
|
||||
//go:embed trusted_setup.json
|
||||
var content embed.FS
|
||||
|
||||
const (
|
||||
CellProofsPerBlob = 128
|
||||
)
|
||||
|
||||
var (
|
||||
blobT = reflect.TypeOf(Blob{})
|
||||
commitmentT = reflect.TypeOf(Commitment{})
|
||||
proofT = reflect.TypeOf(Proof{})
|
||||
|
||||
CellProofsPerBlob = 128
|
||||
)
|
||||
|
||||
// Blob represents a 4844 data blob.
|
||||
|
||||
Reference in New Issue
Block a user