From 5605f9d7ad1ab176bce8b726c700155956921b89 Mon Sep 17 00:00:00 2001 From: Marius van der Wijden Date: Thu, 12 Jun 2025 11:53:16 +0200 Subject: [PATCH] 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 --- crypto/kzg4844/kzg4844.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crypto/kzg4844/kzg4844.go b/crypto/kzg4844/kzg4844.go index a002affda4..baf9c9655b 100644 --- a/crypto/kzg4844/kzg4844.go +++ b/crypto/kzg4844/kzg4844.go @@ -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).