refactor: use luxfi/crypto/kzg4844 instead of geth/crypto/kzg4844

Use externalized kzg4844 from luxfi/crypto package for consistent
crypto usage across all luxfi packages.

- Update geth to v1.16.43 (which also uses luxfi/crypto/kzg4844)
- Update crypto to v1.17.15
- Remove geth/crypto/kzg4844 from allowed packages
This commit is contained in:
2025-12-11 04:57:36 +00:00
parent 9bc9bbdc2e
commit 8affb36e16
8 changed files with 11 additions and 12 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ import (
"github.com/luxfi/geth/core/tracing"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/core/vm"
"github.com/luxfi/geth/crypto/kzg4844"
"github.com/luxfi/crypto/kzg4844"
ethparams "github.com/luxfi/geth/params"
)
+1 -1
View File
@@ -56,7 +56,7 @@ import (
"github.com/luxfi/geth/core/rawdb"
"github.com/luxfi/geth/core/tracing"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto/kzg4844"
"github.com/luxfi/crypto/kzg4844"
"github.com/luxfi/geth/ethdb/memorydb"
ethparams "github.com/luxfi/geth/params"
"github.com/luxfi/geth/rlp"
+1 -1
View File
@@ -40,7 +40,7 @@ import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/core/vm"
"github.com/luxfi/geth/crypto/kzg4844"
"github.com/luxfi/crypto/kzg4844"
ethparams "github.com/luxfi/geth/params"
"github.com/luxfi/log"
)
+2 -2
View File
@@ -19,9 +19,9 @@ require (
github.com/luxfi/codec v1.0.4
github.com/luxfi/consensus v1.22.4
github.com/luxfi/constants v1.0.0
github.com/luxfi/crypto v1.17.9
github.com/luxfi/crypto v1.17.15
github.com/luxfi/database v1.2.7
github.com/luxfi/geth v1.16.40
github.com/luxfi/geth v1.16.43
github.com/luxfi/go-bip39 v1.1.1
github.com/luxfi/ids v1.1.2
github.com/luxfi/log v1.1.24
+4 -4
View File
@@ -238,12 +238,12 @@ github.com/luxfi/consensus v1.22.4 h1:XtsPsTUAIcSUXRS5PLJfvEHp7sHRnjq0ErdBeOWKPy
github.com/luxfi/consensus v1.22.4/go.mod h1:79MmUyDSAuHDp19UKjzTI5ZpGYkuNYy84dZRj7FXgOE=
github.com/luxfi/constants v1.0.0 h1:vNtrQwNrMl5Nvm3Z073OZeCsOd28dAnYBL6FL1AD6Xk=
github.com/luxfi/constants v1.0.0/go.mod h1:lJSH4WAMaiVsCC5wi3kptAXJrWiNFwORptpaYTUs7P0=
github.com/luxfi/crypto v1.17.9 h1:5GnDHbG8oPUSKfoi3ZuAw0VBIqp7+Z1SNOdlBlsQ4ss=
github.com/luxfi/crypto v1.17.9/go.mod h1:5Lg/6cio6nAwo0iEwnzMtDcacRuOWuuR/QEg3b4AEHw=
github.com/luxfi/crypto v1.17.15 h1:RLqMYxrrdoU87wVz9BRo0KCCfT2r1lwpB0qpZmf7Ws0=
github.com/luxfi/crypto v1.17.15/go.mod h1:r8k9FRzg0D9CvTiIDkvvWRC73185VpI6e7Xw1yzbhvs=
github.com/luxfi/database v1.2.7 h1:FpPfvl6C4/DqeP9OrV5LbeUAFxmDyBgHP8CcvSO2D1c=
github.com/luxfi/database v1.2.7/go.mod h1:yZGYMY97Ca0pboIyOQ5JTD/ErvpW4bGot7rUvfMn5ko=
github.com/luxfi/geth v1.16.40 h1:26dLZh0huxAm2/iiMac2pzwh7mlMXyJafW2Tj22qqjc=
github.com/luxfi/geth v1.16.40/go.mod h1:sfmc/YJ0EaaNP5PJmD31yTaSP6VLSvwvOUCViTSZa0I=
github.com/luxfi/geth v1.16.43 h1:jHIKGyIAZsFO8aG5Be8FnpA7daVy9QKTdAaYPLrt0/w=
github.com/luxfi/geth v1.16.43/go.mod h1:w1YQt3Ojch6aJcpKxP0cco8EtPLGN4ebT0HZOPn8nMY=
github.com/luxfi/go-bip39 v1.1.1 h1:Z/2H3Pc7P1CQXzXxev945ifxHZ9fpuvsJQFTMP1u8Ts=
github.com/luxfi/go-bip39 v1.1.1/go.mod h1:OxPL7QXUfnqqk7nOTPWgNfShxqg69OYJ4+ATKCmZWP8=
github.com/luxfi/ids v1.1.2 h1:+qCUzE9Ga4slSHbnYl7T3I6c8y+n4/kKk4rzSEkLv/k=
+1 -1
View File
@@ -62,7 +62,7 @@ import (
"github.com/luxfi/geth/core/rawdb"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/core/vm"
"github.com/luxfi/geth/crypto/kzg4844"
"github.com/luxfi/crypto/kzg4844"
"github.com/luxfi/geth/ethdb"
"github.com/luxfi/geth/event"
ethparams "github.com/luxfi/geth/params"
+1 -1
View File
@@ -44,7 +44,7 @@ import (
"github.com/luxfi/geth/common/hexutil"
"github.com/luxfi/geth/consensus/misc/eip4844"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto/kzg4844"
"github.com/luxfi/crypto/kzg4844"
ethparams "github.com/luxfi/geth/params"
"github.com/luxfi/log"
)
-1
View File
@@ -20,7 +20,6 @@
"github.com/luxfi/geth/core/tracing"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/core/vm"
"github.com/luxfi/geth/crypto/kzg4844"
"github.com/luxfi/geth/eth/tracers/js"
"github.com/luxfi/geth/eth/tracers/logger"
"github.com/luxfi/geth/eth/tracers/native"