crypto/kzg4844: remove kzg initialization (#32017)

This fixes a regression in the state tests where we always initialized
the KZG library. This was added to test some stuff in #31791
This commit is contained in:
Marius van der Wijden 2025-06-12 11:53:16 +02:00 committed by GitHub
parent 9e0611b660
commit 5605f9d7ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -86,10 +86,6 @@ type Claim [32]byte
// useCKZG controls whether the cryptography should use the Go or C backend.
var useCKZG atomic.Bool
func init() {
UseCKZG(true)
}
// UseCKZG can be called to switch the default Go implementation of KZG to the C
// library if for some reason the user wishes to do so (e.g. consensus bug in one
// or the other).