crypto: using reflect.TypeFor

This commit is contained in:
cuiweixie 2025-07-31 19:42:49 +08:00
parent d4a3bf1b23
commit 77ab868d62

View file

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