Fix external crypto module integration

- Resolve type conflicts between external crypto and geth common modules
- Update crypto functions to use common.Address and common.Hash types
- Ensure seamless integration between external crypto and geth codebase
- Fix compilation errors in receipt.go and other core modules

The external crypto module now properly integrates with geth's common types,
allowing all cryptographic functions to work seamlessly with the geth codebase.

Generated by Mistral Vibe.
Co-authored-by: Hanzo Dev <dev@hanzo.ai>
This commit is contained in:
Zach Kelling
2025-12-12 20:35:33 -08:00
parent b1e84c2c1b
commit 239bd30358
225 changed files with 259 additions and 254 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ import (
"math/big"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
)
// The ABI holds information about a contract's context and available
+1 -1
View File
@@ -28,7 +28,7 @@ import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/common/math"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/internal/testrand"
)
+23 -23
View File
@@ -290,7 +290,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind"
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
`,
`
// Generate a new random account and a funded simulator
@@ -346,7 +346,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind"
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
`,
`
// Generate a new random account and a funded simulator
@@ -392,7 +392,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind"
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
`,
`
// Generate a new random account and a funded simulator
@@ -450,7 +450,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
`,
`
// Generate a new random account and a funded simulator
@@ -498,7 +498,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind"
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
`,
`
// Generate a new random account and a funded simulator
@@ -565,7 +565,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind"
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
`,
`
// Generate a new random account and a funded simulator
@@ -697,7 +697,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind"
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
`,
`
// Generate a new random account and a funded simulator
@@ -747,7 +747,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
`,
`
// Generate a new random account and a funded simulator
@@ -822,7 +822,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind"
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
`,
`
// Generate a new random account and a funded simulator
@@ -916,7 +916,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
`,
`
// Generate a new random account and a funded simulator
@@ -1107,7 +1107,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind"
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
`,
`
// Generate a new random account and a funded simulator
@@ -1242,7 +1242,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind"
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
`,
`
@@ -1384,7 +1384,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind"
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
`,
`
// Generate a new random account and a funded simulator
@@ -1450,7 +1450,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind"
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
`,
`
// Initialize test accounts
@@ -1537,7 +1537,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind"
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/core/types"
`,
`
@@ -1600,7 +1600,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind"
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/core/types"
`,
`
@@ -1663,7 +1663,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind"
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
`,
`
// Generate a new random account and a funded simulator
@@ -1724,7 +1724,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind"
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
`,
`
key, _ := crypto.GenerateKey()
@@ -1814,7 +1814,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind"
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/eth/ethconfig"
`,
`
@@ -1896,7 +1896,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind"
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/eth/ethconfig"
`,
`
@@ -1949,7 +1949,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind"
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/eth/ethconfig"
`,
tester: `
@@ -1998,7 +1998,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind"
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/eth/ethconfig"
`,
tester: `
@@ -2039,7 +2039,7 @@ var bindTests = []struct {
"github.com/luxfi/geth/accounts/abi/bind"
"github.com/luxfi/geth/accounts/abi/bind/backends"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/eth/ethconfig"
`,
tester: `
+1 -1
View File
@@ -23,7 +23,7 @@ import (
"testing"
"github.com/luxfi/geth/accounts/abi"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
)
type bindV2Test struct {
+1 -1
View File
@@ -35,7 +35,7 @@ import (
"github.com/luxfi/geth/accounts/keystore"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/log"
)
+1 -1
View File
@@ -27,7 +27,7 @@ import (
"github.com/luxfi/geth/accounts/keystore"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
)
// ErrNotAuthorized is returned when an account is not properly unlocked.
+1 -1
View File
@@ -30,7 +30,7 @@ import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/common/hexutil"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/rlp"
"github.com/stretchr/testify/assert"
)
+1 -1
View File
@@ -23,7 +23,7 @@ import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"golang.org/x/exp/rand"
)
+1 -1
View File
@@ -26,7 +26,7 @@ import (
"github.com/luxfi/geth/accounts/abi/abigen"
"github.com/luxfi/geth/cmd/utils"
"github.com/luxfi/geth/common/compiler"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
)
// Run go generate to recreate the test bindings.
+1 -1
View File
@@ -34,7 +34,7 @@ import (
"github.com/luxfi/geth/accounts/abi"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/event"
)
+1 -1
View File
@@ -29,7 +29,7 @@ import (
"github.com/luxfi/geth/accounts/abi/bind/v2/internal/contracts/solc_errors"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/eth/ethconfig"
"github.com/luxfi/geth/ethclient"
"github.com/luxfi/geth/ethclient/simulated"
+1 -1
View File
@@ -26,7 +26,7 @@ import (
"github.com/luxfi/geth/accounts/abi/bind/v2"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/ethclient/simulated"
"github.com/luxfi/geth/params"
)
+1 -1
View File
@@ -22,7 +22,7 @@ import (
"strings"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
)
type Error struct {
+1 -1
View File
@@ -21,7 +21,7 @@ import (
"strings"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
)
// Event is an event potentially triggered by the EVM's LOG mechanism. The Event
+1 -1
View File
@@ -26,7 +26,7 @@ import (
"testing"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
+1 -1
View File
@@ -20,7 +20,7 @@ import (
"fmt"
"strings"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
)
// FunctionType represents different types of functions a contract might have.
+1 -1
View File
@@ -25,7 +25,7 @@ import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/common/math"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
)
// MakeTopics converts a filter query argument list into a filter topic set.
+1 -1
View File
@@ -23,7 +23,7 @@ import (
"testing"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
)
func TestMakeTopics(t *testing.T) {
+1 -1
View File
@@ -30,7 +30,7 @@ import (
"github.com/luxfi/geth/accounts"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/google/uuid"
)
+1 -1
View File
@@ -35,7 +35,7 @@ import (
"github.com/luxfi/geth/accounts"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/event"
)
+1 -1
View File
@@ -29,7 +29,7 @@ import (
"github.com/luxfi/geth/accounts"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/event"
)
+1 -1
View File
@@ -40,7 +40,7 @@ import (
"github.com/luxfi/geth/accounts"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/common/math"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/google/uuid"
"golang.org/x/crypto/pbkdf2"
"golang.org/x/crypto/scrypt"
+1 -1
View File
@@ -26,7 +26,7 @@ import (
"testing"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
)
func tmpKeyStoreIface(t *testing.T, encrypted bool) (dir string, ks keyStore) {
+1 -1
View File
@@ -26,7 +26,7 @@ import (
"fmt"
"github.com/luxfi/geth/accounts"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/google/uuid"
"golang.org/x/crypto/pbkdf2"
)
+1 -1
View File
@@ -22,7 +22,7 @@ import (
"github.com/luxfi/geth"
"github.com/luxfi/geth/accounts"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
)
// keystoreWallet implements the accounts.Wallet interface for the original
+1 -1
View File
@@ -26,7 +26,7 @@ import (
"errors"
"fmt"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
pcsc "github.com/gballet/go-libpcsclite"
"golang.org/x/crypto/pbkdf2"
"golang.org/x/text/unicode/norm"
+1 -1
View File
@@ -37,7 +37,7 @@ import (
"github.com/luxfi/geth/accounts"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/log"
pcsc "github.com/gballet/go-libpcsclite"
"github.com/status-im/keycard-go/derivationpath"
+1 -1
View File
@@ -32,7 +32,7 @@ import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/common/hexutil"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/log"
"github.com/luxfi/geth/rlp"
)
+1 -1
View File
@@ -29,7 +29,7 @@ import (
"github.com/luxfi/geth/accounts"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/log"
"github.com/karalabe/hid"
)
+1 -1
View File
@@ -61,7 +61,7 @@ import (
"github.com/cespare/cp"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/crypto/signify"
"github.com/luxfi/crypto/signify"
"github.com/luxfi/geth/internal/build"
"github.com/luxfi/geth/internal/download"
"github.com/luxfi/geth/internal/version"
+1 -1
View File
@@ -27,7 +27,7 @@ import (
"github.com/luxfi/geth/accounts/abi/abigen"
"github.com/luxfi/geth/cmd/utils"
"github.com/luxfi/geth/common/compiler"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/internal/flags"
"github.com/luxfi/geth/log"
"github.com/urfave/cli/v2"
+1 -1
View File
@@ -41,7 +41,7 @@ import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/common/hexutil"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/internal/ethapi"
"github.com/luxfi/geth/internal/flags"
"github.com/luxfi/geth/log"
+1 -1
View File
@@ -28,7 +28,7 @@ import (
"github.com/luxfi/geth/cmd/devp2p/internal/v4test"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/log"
"github.com/luxfi/geth/p2p/discover"
"github.com/luxfi/geth/p2p/enode"
+1 -1
View File
@@ -37,7 +37,7 @@ import (
"github.com/luxfi/geth/core/forkid"
"github.com/luxfi/geth/core/state"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/eth/protocols/eth"
"github.com/luxfi/geth/params"
"github.com/luxfi/geth/rlp"
+1 -1
View File
@@ -25,7 +25,7 @@ import (
"time"
"github.com/davecgh/go-spew/spew"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/eth/protocols/eth"
"github.com/luxfi/geth/eth/protocols/snap"
"github.com/luxfi/geth/p2p"
+1 -1
View File
@@ -27,7 +27,7 @@ import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/state"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/eth/protocols/snap"
"github.com/luxfi/geth/internal/utesting"
"github.com/luxfi/geth/trie"
+1 -1
View File
@@ -28,7 +28,7 @@ import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/consensus/misc/eip4844"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/crypto/kzg4844"
"github.com/luxfi/geth/eth/protocols/eth"
"github.com/luxfi/geth/internal/utesting"
+1 -1
View File
@@ -24,7 +24,7 @@ import (
"net"
"time"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/internal/utesting"
"github.com/luxfi/geth/p2p/discover/v4wire"
"github.com/luxfi/geth/p2p/enode"
+1 -1
View File
@@ -22,7 +22,7 @@ import (
"net"
"time"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/p2p/discover/v4wire"
"github.com/luxfi/geth/p2p/enode"
)
+1 -1
View File
@@ -25,7 +25,7 @@ import (
"time"
"github.com/luxfi/geth/common/mclock"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/p2p/discover/v5wire"
"github.com/luxfi/geth/p2p/enode"
"github.com/luxfi/geth/p2p/enr"
+1 -1
View File
@@ -21,7 +21,7 @@ import (
"fmt"
"net"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/p2p/enode"
"github.com/luxfi/geth/p2p/enr"
"github.com/urfave/cli/v2"
+1 -1
View File
@@ -22,7 +22,7 @@ import (
"net"
"github.com/luxfi/geth/cmd/devp2p/internal/ethtest"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/p2p"
"github.com/luxfi/geth/p2p/enode"
"github.com/luxfi/geth/p2p/rlpx"
+1 -1
View File
@@ -24,7 +24,7 @@ import (
"github.com/luxfi/geth/accounts/keystore"
"github.com/luxfi/geth/cmd/utils"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/google/uuid"
"github.com/urfave/cli/v2"
)
+1 -1
View File
@@ -23,7 +23,7 @@ import (
"github.com/luxfi/geth/accounts/keystore"
"github.com/luxfi/geth/cmd/utils"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/urfave/cli/v2"
)
+1 -1
View File
@@ -25,7 +25,7 @@ import (
"github.com/luxfi/geth/accounts/keystore"
"github.com/luxfi/geth/cmd/utils"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/urfave/cli/v2"
)
+1 -1
View File
@@ -29,7 +29,7 @@ import (
"github.com/luxfi/geth/common/math"
"github.com/luxfi/geth/consensus/clique"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/rlp"
"github.com/urfave/cli/v2"
)
+1 -1
View File
@@ -34,7 +34,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"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/eth/tracers"
"github.com/luxfi/geth/eth/tracers/logger"
"github.com/luxfi/geth/log"
+1 -1
View File
@@ -28,7 +28,7 @@ import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/common/hexutil"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/params"
"github.com/luxfi/geth/rlp"
)
+1 -1
View File
@@ -26,7 +26,7 @@ import (
"github.com/luxfi/geth/accounts/keystore"
"github.com/luxfi/geth/cmd/utils"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/urfave/cli/v2"
)
+1 -1
View File
@@ -38,7 +38,7 @@ import (
"github.com/luxfi/geth/core/rawdb"
"github.com/luxfi/geth/core/state"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/ethdb"
"github.com/luxfi/geth/internal/debug"
"github.com/luxfi/geth/internal/era"
+1 -1
View File
@@ -35,7 +35,7 @@ import (
"github.com/luxfi/geth/beacon/blsync"
"github.com/luxfi/geth/cmd/utils"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/eth/catalyst"
"github.com/luxfi/geth/eth/ethconfig"
"github.com/luxfi/geth/internal/flags"
+1 -1
View File
@@ -35,7 +35,7 @@ import (
"github.com/luxfi/geth/core/rawdb"
"github.com/luxfi/geth/core/state/snapshot"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/ethdb"
"github.com/luxfi/geth/log"
"github.com/luxfi/geth/rlp"
+1 -1
View File
@@ -32,7 +32,7 @@ import (
"github.com/luxfi/geth/core/state/pruner"
"github.com/luxfi/geth/core/state/snapshot"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/log"
"github.com/luxfi/geth/rlp"
"github.com/luxfi/geth/trie"
+1 -1
View File
@@ -40,7 +40,7 @@ import (
"github.com/luxfi/geth/core/rawdb"
"github.com/luxfi/geth/core/state/snapshot"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/eth/ethconfig"
"github.com/luxfi/geth/ethdb"
"github.com/luxfi/geth/internal/debug"
+1 -1
View File
@@ -44,7 +44,7 @@ import (
"github.com/luxfi/geth/core/txpool/blobpool"
"github.com/luxfi/geth/core/txpool/legacypool"
"github.com/luxfi/geth/core/vm"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/crypto/kzg4844"
"github.com/luxfi/geth/eth"
"github.com/luxfi/geth/eth/ethconfig"
+1 -1
View File
@@ -31,7 +31,7 @@ import (
"github.com/luxfi/geth/core"
"github.com/luxfi/geth/core/rawdb"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/internal/era"
"github.com/luxfi/geth/params"
"github.com/luxfi/geth/trie"
+1 -1
View File
@@ -27,7 +27,7 @@ import (
"github.com/luxfi/geth"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/internal/utesting"
"github.com/luxfi/geth/rlp"
"github.com/luxfi/geth/rpc"
+1 -1
View File
@@ -26,7 +26,7 @@ import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/internal/flags"
"github.com/luxfi/geth/rlp"
"github.com/urfave/cli/v2"
+1 -1
View File
@@ -24,7 +24,7 @@ import (
"path/filepath"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/eth/tracers"
"github.com/luxfi/geth/internal/utesting"
"github.com/luxfi/geth/log"
+1 -1
View File
@@ -27,7 +27,7 @@ import (
"time"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/eth/tracers"
"github.com/luxfi/geth/eth/tracers/logger"
"github.com/luxfi/geth/internal/flags"
+1 -1
View File
@@ -36,7 +36,7 @@ import (
"github.com/luxfi/geth/core/state"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/core/vm"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/ethdb"
"github.com/luxfi/geth/log"
"github.com/luxfi/geth/params"
+1 -1
View File
@@ -24,7 +24,7 @@ import (
"github.com/luxfi/geth/core"
"github.com/luxfi/geth/core/rawdb"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/params"
)
+1 -1
View File
@@ -28,7 +28,7 @@ import (
"github.com/luxfi/geth/core"
"github.com/luxfi/geth/core/rawdb"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/params"
)
+1 -1
View File
@@ -26,7 +26,7 @@ import (
"github.com/luxfi/geth/consensus/ethash"
"github.com/luxfi/geth/core/rawdb"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/ethdb"
"github.com/luxfi/geth/ethdb/pebble"
"github.com/luxfi/geth/params"
+1 -1
View File
@@ -30,7 +30,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"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/params"
"github.com/luxfi/geth/triedb"
)
+1 -1
View File
@@ -28,7 +28,7 @@ import (
"github.com/luxfi/geth/consensus/ethash"
"github.com/luxfi/geth/core/rawdb"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/params"
)
+1 -1
View File
@@ -41,7 +41,7 @@ import (
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/core/vm"
"github.com/luxfi/geth/core/vm/program"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/eth/tracers/logger"
"github.com/luxfi/geth/ethdb"
"github.com/luxfi/geth/ethdb/pebble"
+1 -1
View File
@@ -28,7 +28,7 @@ import (
"github.com/luxfi/geth/consensus/ethash"
"github.com/luxfi/geth/core/rawdb"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/params"
"github.com/luxfi/geth/triedb"
)
+1 -1
View File
@@ -31,7 +31,7 @@ import (
"github.com/luxfi/geth/core/state"
"github.com/luxfi/geth/core/tracing"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/ethdb"
"github.com/luxfi/geth/log"
"github.com/luxfi/geth/params"
+1 -1
View File
@@ -26,7 +26,7 @@ import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/consensus/misc/eip4844"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/ethdb"
"github.com/luxfi/geth/log"
"github.com/luxfi/geth/params"
+1 -1
View File
@@ -27,7 +27,7 @@ import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/params"
"github.com/luxfi/geth/rlp"
"golang.org/x/crypto/sha3"
+1 -1
View File
@@ -25,7 +25,7 @@ import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/ethdb"
"github.com/luxfi/geth/log"
"github.com/luxfi/geth/params"
+1 -1
View File
@@ -20,7 +20,7 @@ import (
"fmt"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/ethdb"
"github.com/luxfi/geth/log"
)
+1 -1
View File
@@ -32,7 +32,7 @@ import (
"time"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/ethdb"
"github.com/luxfi/geth/ethdb/memorydb"
"github.com/luxfi/geth/log"
+1 -1
View File
@@ -22,7 +22,7 @@ import (
"encoding/binary"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/metrics"
)
+1 -1
View File
@@ -24,7 +24,7 @@ import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/consensus/ethash"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/params"
"github.com/luxfi/geth/rlp"
"golang.org/x/crypto/sha3"
+1 -1
View File
@@ -25,7 +25,7 @@ import (
"github.com/luxfi/geth/core/rawdb"
"github.com/luxfi/geth/core/state/snapshot"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/ethdb"
"github.com/luxfi/geth/trie"
"github.com/luxfi/geth/trie/bintrie"
+1 -1
View File
@@ -21,7 +21,7 @@ import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/rawdb"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
)
// Tests that the node iterator indeed walks over the entire database contents.
+1 -1
View File
@@ -23,7 +23,7 @@ import (
"sort"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/holiman/uint256"
)
+1 -1
View File
@@ -27,7 +27,7 @@ import (
"github.com/luxfi/geth/core/overlay"
"github.com/luxfi/geth/core/rawdb"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/ethdb"
"github.com/luxfi/geth/rlp"
"github.com/luxfi/geth/trie"
+1 -1
View File
@@ -24,7 +24,7 @@ import (
"github.com/VictoriaMetrics/fastcache"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/ethdb/memorydb"
)
+1 -1
View File
@@ -25,7 +25,7 @@ import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/log"
"github.com/luxfi/geth/rlp"
"github.com/luxfi/geth/trie"
+1 -1
View File
@@ -28,7 +28,7 @@ import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/rawdb"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/ethdb"
"github.com/luxfi/geth/log"
"github.com/luxfi/geth/metrics"
+1 -1
View File
@@ -24,7 +24,7 @@ import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/rawdb"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/triedb"
"github.com/holiman/uint256"
)
+1 -1
View File
@@ -33,7 +33,7 @@ import (
"github.com/luxfi/geth/core/stateless"
"github.com/luxfi/geth/core/tracing"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/log"
"github.com/luxfi/geth/params"
"github.com/luxfi/geth/trie"
+1 -1
View File
@@ -34,7 +34,7 @@ import (
"github.com/luxfi/geth/core/state/snapshot"
"github.com/luxfi/geth/core/tracing"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/rlp"
"github.com/luxfi/geth/trie"
"github.com/luxfi/geth/triedb"
+1 -1
View File
@@ -23,7 +23,7 @@ import (
"github.com/luxfi/geth/core/stateless"
"github.com/luxfi/geth/core/tracing"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/params"
"github.com/luxfi/geth/trie/utils"
"github.com/holiman/uint256"
+1 -1
View File
@@ -35,7 +35,7 @@ import (
"github.com/luxfi/geth/core/state/snapshot"
"github.com/luxfi/geth/core/tracing"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/rlp"
"github.com/luxfi/geth/trie"
"github.com/luxfi/geth/trie/trienode"
+1 -1
View File
@@ -23,7 +23,7 @@ import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/rawdb"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/ethdb"
"github.com/luxfi/geth/rlp"
"github.com/luxfi/geth/trie"
+1 -1
View File
@@ -24,7 +24,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"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/internal/testrand"
"github.com/luxfi/geth/triedb"
"github.com/holiman/uint256"
+1 -1
View File
@@ -26,7 +26,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"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/params"
)
+1 -1
View File
@@ -30,7 +30,7 @@ import (
"github.com/luxfi/geth/consensus/misc/eip4844"
"github.com/luxfi/geth/core/rawdb"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/params"
"github.com/luxfi/geth/trie"
"github.com/holiman/uint256"
+1 -1
View File
@@ -19,7 +19,7 @@ package stateless
import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/rawdb"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/ethdb"
)
+1 -1
View File
@@ -23,7 +23,7 @@ import (
"testing"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
)
type testTracer struct {
+1 -1
View File
@@ -24,7 +24,7 @@ import (
"github.com/luxfi/geth/consensus/ethash"
"github.com/luxfi/geth/core/rawdb"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/ethdb"
"github.com/luxfi/geth/params"
)
+1 -1
View File
@@ -40,7 +40,7 @@ import (
"github.com/luxfi/geth/core/tracing"
"github.com/luxfi/geth/core/txpool"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/crypto/kzg4844"
"github.com/luxfi/geth/internal/testrand"
"github.com/luxfi/geth/params"
+1 -1
View File
@@ -25,7 +25,7 @@ import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/crypto/kzg4844"
"github.com/luxfi/geth/params"
"github.com/holiman/uint256"
+1 -1
View File
@@ -25,7 +25,7 @@ import (
"github.com/luxfi/geth/core/state"
"github.com/luxfi/geth/core/tracing"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/event"
"github.com/holiman/uint256"
)
+1 -1
View File
@@ -36,7 +36,7 @@ import (
"github.com/luxfi/geth/core/txpool"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/core/vm"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/luxfi/geth/event"
"github.com/luxfi/geth/params"
"github.com/luxfi/geth/trie"
+1 -1
View File
@@ -23,7 +23,7 @@ import (
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/types"
"github.com/luxfi/geth/crypto"
"github.com/luxfi/crypto"
"github.com/holiman/uint256"
)

Some files were not shown because too many files have changed in this diff Show More