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:
Zach Kelling
2025-12-11 04:52:56 +00:00
parent 5ba390d1b0
commit 558e4e40e3
+4 -2
View File
@@ -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.