crypto/kzg4844: use reflect.TypeFor (#32319)

This commit is contained in:
cui 2025-08-07 20:22:11 +08:00 committed by GitHub
parent f49f3ec780
commit dfde155541
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,9 +31,9 @@ import (
var content embed.FS var content embed.FS
var ( var (
blobT = reflect.TypeOf(Blob{}) blobT = reflect.TypeFor[Blob]()
commitmentT = reflect.TypeOf(Commitment{}) commitmentT = reflect.TypeFor[Commitment]()
proofT = reflect.TypeOf(Proof{}) proofT = reflect.TypeFor[Proof]()
CellProofsPerBlob = 128 CellProofsPerBlob = 128
) )