mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
Fix import paths and add missing interface stubs for subnet-evm v0.7.5
- Update imports from luxdefi/node to luxfi/node - Replace libevm interfaces with direct go-ethereum imports - Add placeholder interface files for missing dependencies - Update go.mod to use local luxfi/node path - Fix merge conflicts in multiple files - Create stub implementations for missing packages This allows the project structure to align with v0.7.5 requirements but the build still needs additional work to be fully functional.
This commit is contained in:
@@ -32,10 +32,10 @@ import (
|
||||
"errors"
|
||||
"io"
|
||||
"math/big"
|
||||
"github.com/luxdefi/evm/accounts"
|
||||
"github.com/luxdefi/evm/accounts/external"
|
||||
"github.com/luxdefi/evm/accounts/keystore"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/accounts"
|
||||
"github.com/ethereum/go-ethereum/accounts/external"
|
||||
"github.com/ethereum/go-ethereum/accounts/keystore"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
|
||||
@@ -30,7 +30,7 @@ import (
|
||||
"context"
|
||||
"errors"
|
||||
"math/big"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/luxdefi/evm/interfaces"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
)
|
||||
|
||||
@@ -35,12 +35,12 @@ import (
|
||||
"github.com/luxdefi/evm/consensus/dummy"
|
||||
"github.com/luxdefi/evm/core"
|
||||
"github.com/luxdefi/evm/core/bloombits"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/state"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/core/vm"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/luxdefi/evm/eth/filters"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/luxdefi/evm/interfaces"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/luxdefi/evm/rpc"
|
||||
|
||||
@@ -34,7 +34,7 @@ import (
|
||||
"strings"
|
||||
"sync"
|
||||
"github.com/luxdefi/evm/accounts/abi"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/luxdefi/evm/interfaces"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
|
||||
@@ -35,7 +35,7 @@ import (
|
||||
"testing"
|
||||
"github.com/luxdefi/evm/accounts/abi"
|
||||
"github.com/luxdefi/evm/accounts/abi/bind"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/luxdefi/evm/interfaces"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/common/hexutil"
|
||||
|
||||
@@ -39,7 +39,7 @@ import (
|
||||
"github.com/luxdefi/evm/vmerrs"
|
||||
_ "embed"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/luxdefi/evm/interfaces/core/vm"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
)
|
||||
{{$contract := .Contract}}
|
||||
const (
|
||||
|
||||
@@ -102,7 +102,7 @@ import (
|
||||
"errors"
|
||||
"github.com/luxdefi/evm/accounts/abi"
|
||||
"github.com/luxdefi/evm/accounts/abi/bind"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/luxdefi/evm/interfaces"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/event"
|
||||
|
||||
@@ -30,7 +30,7 @@ import (
|
||||
"context"
|
||||
"errors"
|
||||
"time"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/luxdefi/evm/interfaces"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
|
||||
@@ -35,7 +35,7 @@ import (
|
||||
"github.com/luxdefi/evm/accounts/abi/bind"
|
||||
"github.com/luxdefi/evm/accounts/abi/bind/backends"
|
||||
"github.com/luxdefi/evm/core"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
)
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
package scwallet
|
||||
|
||||
// Placeholder smart card wallet
|
||||
type Wallet interface{}
|
||||
@@ -33,7 +33,7 @@ import (
|
||||
"fmt"
|
||||
"math/big"
|
||||
"os"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/common/hexutil"
|
||||
"github.com/ethereum/go-ethereum/common/math"
|
||||
|
||||
@@ -30,13 +30,13 @@ import (
|
||||
"fmt"
|
||||
"math/big"
|
||||
"github.com/luxdefi/evm/core"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/state"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/core/vm"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/luxdefi/evm/trie"
|
||||
"github.com/ethereum/go-ethereum/trie"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/common/math"
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
|
||||
@@ -29,7 +29,7 @@ package t8ntool
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
"github.com/luxdefi/evm/core/vm"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/luxdefi/evm/tests"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"math/big"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/common/hexutil"
|
||||
"github.com/ethereum/go-ethereum/common/math"
|
||||
|
||||
@@ -22,7 +22,7 @@ import (
|
||||
"math/big"
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/luxdefi/evm/interfaces/core/vm"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
"github.com/luxdefi/evm/eth/tracers"
|
||||
)
|
||||
|
||||
@@ -34,7 +34,7 @@ import (
|
||||
"os"
|
||||
"strings"
|
||||
"github.com/luxdefi/evm/core"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/luxdefi/evm/tests"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
|
||||
@@ -36,8 +36,8 @@ import (
|
||||
"github.com/luxdefi/evm/consensus/dummy"
|
||||
"github.com/luxdefi/evm/core"
|
||||
"github.com/luxdefi/evm/core/state"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/core/vm"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/luxdefi/evm/eth/tracers/logger"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/luxdefi/evm/tests"
|
||||
|
||||
@@ -27,7 +27,7 @@ import (
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/common/hexutil"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
"github.com/ethereum/go-ethereum/rlp"
|
||||
"github.com/luxdefi/evm/params"
|
||||
|
||||
+4
-4
@@ -38,15 +38,15 @@ import (
|
||||
"time"
|
||||
"github.com/luxdefi/evm/cmd/evm/internal/compiler"
|
||||
"github.com/luxdefi/evm/core"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/state"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/core/vm"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/luxdefi/evm/core/vm/runtime"
|
||||
"github.com/luxdefi/evm/eth/tracers/logger"
|
||||
"github.com/luxdefi/evm/internal/flags"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/luxdefi/evm/trie"
|
||||
"github.com/ethereum/go-ethereum/trie"
|
||||
"github.com/ethereum/go-ethereum/cmd/utils"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
"github.com/luxdefi/evm/core/state"
|
||||
"github.com/luxdefi/evm/core/vm"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/luxdefi/evm/eth/tracers/logger"
|
||||
"github.com/luxdefi/evm/tests"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"github.com/luxdefi/evm/cmd/simulator/key"
|
||||
"github.com/luxdefi/evm/cmd/simulator/metrics"
|
||||
"github.com/luxdefi/evm/cmd/simulator/txs"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/luxdefi/evm/ethclient"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
|
||||
@@ -17,7 +17,7 @@ import (
|
||||
"github.com/luxdefi/evm/cmd/simulator/key"
|
||||
"github.com/luxdefi/evm/cmd/simulator/metrics"
|
||||
"github.com/luxdefi/evm/cmd/simulator/txs"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/luxdefi/evm/ethclient"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"time"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/luxdefi/evm/ethclient"
|
||||
"github.com/luxdefi/evm/interfaces"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"context"
|
||||
"crypto/ecdsa"
|
||||
"fmt"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/luxdefi/evm/ethclient"
|
||||
ethcrypto "github.com/ethereum/go-ethereum/crypto"
|
||||
)
|
||||
|
||||
@@ -31,7 +31,7 @@ import (
|
||||
"math/big"
|
||||
"github.com/luxdefi/evm/commontype"
|
||||
"github.com/luxdefi/evm/core/state"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
)
|
||||
|
||||
@@ -8,12 +8,12 @@ import (
|
||||
"fmt"
|
||||
"math/big"
|
||||
"time"
|
||||
"github.com/luxdefi/node/utils/timer/mockable"
|
||||
"github.com/luxfi/node/utils/timer/mockable"
|
||||
"github.com/luxdefi/evm/consensus"
|
||||
"github.com/luxdefi/evm/core/state"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/luxdefi/evm/trie"
|
||||
"github.com/ethereum/go-ethereum/trie"
|
||||
"github.com/luxdefi/evm/vmerrs"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
)
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"math"
|
||||
"math/big"
|
||||
"testing"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
)
|
||||
|
||||
@@ -31,8 +31,8 @@ import (
|
||||
"fmt"
|
||||
"math/big"
|
||||
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
ethparams "github.com/luxdefi/evm/interfaces/params"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
ethparams "github.com/ethereum/go-ethereum/params"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -23,7 +23,7 @@ import (
|
||||
<<<<<<< HEAD:consensus/misc/eip4844_test.go
|
||||
"github.com/luxdefi/evm/params"
|
||||
=======
|
||||
ethparams "github.com/luxdefi/evm/interfaces/params"
|
||||
ethparams "github.com/ethereum/go-ethereum/params"
|
||||
>>>>>>> v0.7.5:consensus/misc/eip4844/eip4844_test.go
|
||||
)
|
||||
|
||||
|
||||
+4
-4
@@ -32,10 +32,10 @@ import (
|
||||
"testing"
|
||||
"github.com/luxdefi/evm/consensus/dummy"
|
||||
"github.com/luxdefi/evm/constants"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/core/vm"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/common/math"
|
||||
|
||||
@@ -31,9 +31,9 @@ import (
|
||||
"fmt"
|
||||
"github.com/luxdefi/evm/consensus"
|
||||
"github.com/luxdefi/evm/core/state"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/luxdefi/evm/trie"
|
||||
"github.com/ethereum/go-ethereum/trie"
|
||||
)
|
||||
|
||||
// BlockValidator is responsible for validating block headers, uncles and
|
||||
|
||||
+6
-6
@@ -40,16 +40,16 @@ import (
|
||||
"time"
|
||||
"github.com/luxdefi/evm/commontype"
|
||||
"github.com/luxdefi/evm/consensus"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/state"
|
||||
"github.com/luxdefi/evm/core/state/snapshot"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/core/vm"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/luxdefi/evm/internal/version"
|
||||
"github.com/luxdefi/evm/metrics"
|
||||
"github.com/ethereum/go-ethereum/metrics"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/luxdefi/evm/trie"
|
||||
"github.com/ethereum/go-ethereum/trie"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/common/lru"
|
||||
"github.com/ethereum/go-ethereum/event"
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"sync"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
)
|
||||
|
||||
type blockAndState struct {
|
||||
|
||||
@@ -9,9 +9,9 @@ import (
|
||||
"testing"
|
||||
"github.com/luxdefi/evm/accounts/abi"
|
||||
"github.com/luxdefi/evm/consensus/dummy"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/core/vm"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
|
||||
@@ -31,15 +31,15 @@ import (
|
||||
"github.com/luxdefi/evm/commontype"
|
||||
"github.com/luxdefi/evm/consensus"
|
||||
"github.com/luxdefi/evm/constants"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/state"
|
||||
"github.com/luxdefi/evm/core/state/snapshot"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/core/vm"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/luxdefi/evm/precompile/contracts/feemanager"
|
||||
"github.com/luxdefi/evm/precompile/contracts/rewardmanager"
|
||||
"github.com/luxdefi/evm/trie"
|
||||
"github.com/ethereum/go-ethereum/trie"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/event"
|
||||
)
|
||||
|
||||
@@ -34,9 +34,9 @@ import (
|
||||
"math/big"
|
||||
"testing"
|
||||
"github.com/luxdefi/evm/consensus/dummy"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/core/vm"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
)
|
||||
|
||||
@@ -31,7 +31,7 @@ package core
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
)
|
||||
|
||||
// verifyNoGaps checks that there are no gaps after the initial set of blocks in
|
||||
|
||||
@@ -39,10 +39,10 @@ import (
|
||||
"testing"
|
||||
"github.com/luxdefi/evm/consensus"
|
||||
"github.com/luxdefi/evm/consensus/dummy"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/core/vm"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
)
|
||||
|
||||
@@ -9,13 +9,13 @@ import (
|
||||
"os"
|
||||
"testing"
|
||||
"github.com/luxdefi/evm/consensus/dummy"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/state"
|
||||
"github.com/luxdefi/evm/core/state/pruner"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/core/vm"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/luxdefi/evm/eth/tracers/logger"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
|
||||
@@ -20,9 +20,9 @@ import (
|
||||
"context"
|
||||
"time"
|
||||
"github.com/luxdefi/evm/core/bloombits"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/common/bitutil"
|
||||
)
|
||||
|
||||
@@ -28,7 +28,7 @@ package bloombits
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -31,7 +31,7 @@ import (
|
||||
crand "crypto/rand"
|
||||
"math/rand"
|
||||
"testing"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
)
|
||||
|
||||
// Tests that batched bloom bits are correctly rotated from the input bloom
|
||||
|
||||
@@ -34,9 +34,9 @@ import (
|
||||
"sync"
|
||||
"sync/atomic"
|
||||
"time"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/event"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
|
||||
@@ -34,8 +34,8 @@ import (
|
||||
"math/rand"
|
||||
"testing"
|
||||
"time"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
)
|
||||
|
||||
|
||||
@@ -33,13 +33,13 @@ import (
|
||||
"github.com/luxdefi/evm/consensus"
|
||||
"github.com/luxdefi/evm/consensus/dummy"
|
||||
"github.com/luxdefi/evm/constants"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/state"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/core/vm"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/luxdefi/evm/trie"
|
||||
"github.com/ethereum/go-ethereum/trie"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
)
|
||||
|
||||
|
||||
@@ -30,9 +30,9 @@ import (
|
||||
"fmt"
|
||||
"math/big"
|
||||
"github.com/luxdefi/evm/consensus/dummy"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/core/vm"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@ package core
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@
|
||||
package core
|
||||
|
||||
import (
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
)
|
||||
|
||||
|
||||
+2
-2
@@ -30,8 +30,8 @@ import (
|
||||
"bytes"
|
||||
"math/big"
|
||||
"github.com/luxdefi/evm/consensus"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/core/vm"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/luxdefi/evm/predicate"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
|
||||
@@ -5,8 +5,8 @@ package extstate
|
||||
|
||||
import (
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/interfaces/core/vm"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/luxdefi/evm/predicate"
|
||||
)
|
||||
|
||||
@@ -5,7 +5,7 @@ package extstate
|
||||
import (
|
||||
"testing"
|
||||
<<<<<<< HEAD:core/state/test_statedb.go
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/luxdefi/evm/precompile/contract"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
=======
|
||||
|
||||
+4
-4
@@ -32,12 +32,12 @@ import (
|
||||
"fmt"
|
||||
"math/big"
|
||||
"time"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/state"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/luxdefi/evm/trie"
|
||||
"github.com/ethereum/go-ethereum/trie"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/common/hexutil"
|
||||
"github.com/ethereum/go-ethereum/common/math"
|
||||
|
||||
@@ -10,8 +10,8 @@ import (
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/luxdefi/evm/interfaces/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/interfaces/triedb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/triedb"
|
||||
"github.com/luxdefi/evm/commontype"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/luxdefi/evm/params/extras"
|
||||
|
||||
@@ -33,15 +33,15 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
"github.com/luxdefi/evm/consensus/dummy"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/state"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/core/vm"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/luxdefi/evm/precompile/allowlist"
|
||||
"github.com/luxdefi/evm/precompile/contracts/deployerallowlist"
|
||||
"github.com/luxdefi/evm/trie"
|
||||
"github.com/ethereum/go-ethereum/trie"
|
||||
"github.com/luxdefi/evm/utils"
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
+3
-3
@@ -33,9 +33,9 @@ import (
|
||||
mrand "math/rand"
|
||||
"sync/atomic"
|
||||
"github.com/luxdefi/evm/consensus"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/common/lru"
|
||||
|
||||
@@ -33,9 +33,9 @@ import (
|
||||
"testing"
|
||||
"github.com/luxdefi/evm/consensus"
|
||||
"github.com/luxdefi/evm/consensus/dummy"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/core/vm"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
)
|
||||
|
||||
@@ -6,8 +6,8 @@ package core
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/luxdefi/node/utils/set"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxfi/node/utils/set"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/luxdefi/evm/precompile/precompileconfig"
|
||||
"github.com/luxdefi/evm/predicate"
|
||||
|
||||
@@ -6,9 +6,9 @@ package core
|
||||
import (
|
||||
"errors"
|
||||
"testing"
|
||||
"github.com/luxdefi/node/snow/engine/snowman/block"
|
||||
"github.com/luxdefi/node/utils/set"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxfi/node/snow/engine/snowman/block"
|
||||
"github.com/luxfi/node/utils/set"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/luxdefi/evm/precompile/precompileconfig"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ import (
|
||||
"math/big"
|
||||
"testing"
|
||||
"github.com/luxdefi/evm/consensus/dummy"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
|
||||
@@ -28,7 +28,7 @@ package core
|
||||
|
||||
import (
|
||||
"sync"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
)
|
||||
|
||||
// txSenderCacherRequest is a request for recovering transaction senders with a
|
||||
|
||||
@@ -29,10 +29,10 @@ package state
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/luxdefi/evm/trie"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/ethereum/go-ethereum/trie"
|
||||
"github.com/luxdefi/evm/trie/trienode"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/common/lru"
|
||||
|
||||
+2
-2
@@ -30,8 +30,8 @@ import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"time"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/trie"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/trie"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/common/hexutil"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
|
||||
@@ -30,7 +30,7 @@ import (
|
||||
"encoding/binary"
|
||||
"errors"
|
||||
"os"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
bloomfilter "github.com/holiman/bloomfilter/v2"
|
||||
|
||||
@@ -36,11 +36,11 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
"time"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/state/snapshot"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/luxdefi/evm/trie"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/ethereum/go-ethereum/trie"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
"github.com/ethereum/go-ethereum/rlp"
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
"math"
|
||||
"time"
|
||||
|
||||
"golang.org/x/exp/slog"
|
||||
"log/slog"
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
|
||||
@@ -34,10 +34,10 @@ import (
|
||||
"runtime"
|
||||
"sync"
|
||||
"time"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/luxdefi/evm/trie"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/ethereum/go-ethereum/trie"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
"github.com/ethereum/go-ethereum/rlp"
|
||||
|
||||
@@ -36,10 +36,10 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/rlp"
|
||||
bloomfilter "github.com/holiman/bloomfilter/v2"
|
||||
"golang.org/x/exp/slices"
|
||||
"slices"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -30,9 +30,9 @@ import (
|
||||
"bytes"
|
||||
"sync"
|
||||
"time"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/luxdefi/evm/trie"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/ethereum/go-ethereum/trie"
|
||||
"github.com/luxdefi/evm/utils"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/rlp"
|
||||
|
||||
@@ -29,7 +29,7 @@ package snapshot
|
||||
import (
|
||||
"bytes"
|
||||
"testing"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/luxdefi/evm/ethdb/memorydb"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/rlp"
|
||||
|
||||
@@ -30,10 +30,10 @@ import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"time"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/luxdefi/evm/trie"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/ethereum/go-ethereum/trie"
|
||||
"github.com/luxdefi/evm/utils"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/common/math"
|
||||
|
||||
@@ -31,10 +31,10 @@ import (
|
||||
"os"
|
||||
"testing"
|
||||
"time"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/luxdefi/evm/trie"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/ethereum/go-ethereum/trie"
|
||||
"github.com/luxdefi/evm/trie/trienode"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
|
||||
@@ -30,8 +30,8 @@ import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"sort"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
)
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
"sort"
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"golang.org/x/exp/slices"
|
||||
"slices"
|
||||
)
|
||||
|
||||
// weightedIterator is a iterator with an assigned weight. It is used to prioritise
|
||||
|
||||
@@ -33,7 +33,7 @@ import (
|
||||
"fmt"
|
||||
"math/rand"
|
||||
"testing"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
)
|
||||
|
||||
|
||||
@@ -31,9 +31,9 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"time"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/luxdefi/evm/trie"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/ethereum/go-ethereum/trie"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
"github.com/ethereum/go-ethereum/rlp"
|
||||
|
||||
@@ -33,10 +33,10 @@ import (
|
||||
"fmt"
|
||||
"sync"
|
||||
"time"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/luxdefi/evm/metrics"
|
||||
"github.com/luxdefi/evm/trie"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/ethereum/go-ethereum/metrics"
|
||||
"github.com/ethereum/go-ethereum/trie"
|
||||
"github.com/luxdefi/evm/utils"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/luxdefi/evm/interfaces/ethdb"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/luxdefi/evm/utils"
|
||||
)
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@ import (
|
||||
"math/rand"
|
||||
"testing"
|
||||
"time"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/rlp"
|
||||
)
|
||||
|
||||
@@ -30,8 +30,8 @@ import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"time"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
)
|
||||
|
||||
@@ -29,8 +29,8 @@ package snapshot
|
||||
import (
|
||||
"bytes"
|
||||
"time"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
)
|
||||
|
||||
@@ -29,7 +29,7 @@ package snapshot
|
||||
import (
|
||||
"math/rand"
|
||||
"testing"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/luxdefi/evm/ethdb/memorydb"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
)
|
||||
|
||||
@@ -28,10 +28,10 @@ package state
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/luxdefi/evm/trie"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/ethereum/go-ethereum/trie"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
)
|
||||
|
||||
@@ -33,13 +33,13 @@ import (
|
||||
"math/big"
|
||||
"sort"
|
||||
"time"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/state/snapshot"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/metrics"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/metrics"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/luxdefi/evm/predicate"
|
||||
"github.com/luxdefi/evm/trie"
|
||||
"github.com/ethereum/go-ethereum/trie"
|
||||
"github.com/luxdefi/evm/trie/trienode"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
|
||||
@@ -12,14 +12,14 @@ import (
|
||||
"strconv"
|
||||
"testing"
|
||||
|
||||
"github.com/luxdefi/node/database"
|
||||
"github.com/luxfi/node/database"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/luxdefi/evm/interfaces/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/interfaces/ethdb"
|
||||
"github.com/luxdefi/evm/interfaces/libevm/stateconf"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/ethereum/go-ethereum/libevm/stateconf"
|
||||
"github.com/luxdefi/evm/interfaces/metrics"
|
||||
"github.com/luxdefi/evm/interfaces/triedb"
|
||||
"github.com/ethereum/go-ethereum/triedb"
|
||||
"github.com/luxdefi/evm/core/state/snapshot"
|
||||
"github.com/luxdefi/evm/triedb/hashdb"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
@@ -30,8 +30,8 @@ import (
|
||||
"fmt"
|
||||
"math/rand"
|
||||
"time"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
)
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ package core
|
||||
import (
|
||||
"math/big"
|
||||
"testing"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
@@ -31,8 +31,8 @@ import (
|
||||
"math/big"
|
||||
"github.com/luxdefi/evm/consensus"
|
||||
"github.com/luxdefi/evm/core/state"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/core/vm"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/luxdefi/evm/precompile/contract"
|
||||
"github.com/luxdefi/evm/precompile/modules"
|
||||
|
||||
@@ -9,10 +9,10 @@ import (
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/luxdefi/evm/interfaces/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/interfaces/core/vm"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
ethparams "github.com/luxdefi/evm/interfaces/params"
|
||||
ethparams "github.com/ethereum/go-ethereum/params"
|
||||
"github.com/luxdefi/evm/consensus/dummy"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/luxdefi/evm/params/extras"
|
||||
|
||||
@@ -32,12 +32,12 @@ import (
|
||||
"testing"
|
||||
"github.com/luxdefi/evm/consensus"
|
||||
"github.com/luxdefi/evm/consensus/dummy"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/core/vm"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/luxdefi/evm/precompile/contracts/txallowlist"
|
||||
"github.com/luxdefi/evm/trie"
|
||||
"github.com/ethereum/go-ethereum/trie"
|
||||
"github.com/luxdefi/evm/utils"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
|
||||
@@ -30,8 +30,8 @@ import (
|
||||
"fmt"
|
||||
"math"
|
||||
"math/big"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/core/vm"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/luxdefi/evm/precompile/contracts/txallowlist"
|
||||
"github.com/luxdefi/evm/utils"
|
||||
|
||||
@@ -10,10 +10,10 @@ import (
|
||||
"time"
|
||||
"github.com/luxdefi/evm/commontype"
|
||||
"github.com/luxdefi/evm/consensus/dummy"
|
||||
"github.com/luxdefi/evm/core/rawdb"
|
||||
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/state"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/luxdefi/evm/precompile/allowlist"
|
||||
"github.com/luxdefi/evm/precompile/contracts/deployerallowlist"
|
||||
|
||||
@@ -30,7 +30,7 @@ import (
|
||||
_ "embed"
|
||||
"math/big"
|
||||
"testing"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/luxdefi/evm/precompile/contract"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/luxdefi/evm/interfaces/core/rawdb"
|
||||
"github.com/luxdefi/evm/interfaces/ethdb"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
)
|
||||
|
||||
|
||||
@@ -23,10 +23,10 @@ import (
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/luxdefi/evm/interfaces/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
"github.com/luxdefi/evm/interfaces/ethdb"
|
||||
ethparams "github.com/luxdefi/evm/interfaces/params"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
ethparams "github.com/ethereum/go-ethereum/params"
|
||||
"github.com/luxdefi/evm/consensus/dummy"
|
||||
"github.com/luxdefi/evm/params"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
@@ -40,11 +40,11 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/event"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
"github.com/luxdefi/evm/interfaces/metrics"
|
||||
ethparams "github.com/luxdefi/evm/interfaces/params"
|
||||
ethparams "github.com/ethereum/go-ethereum/params"
|
||||
"github.com/ethereum/go-ethereum/rlp"
|
||||
"github.com/luxdefi/evm/consensus/misc/eip4844"
|
||||
"github.com/luxdefi/evm/core"
|
||||
|
||||
@@ -41,12 +41,12 @@ import (
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/luxdefi/evm/interfaces/core/rawdb"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
"github.com/ethereum/go-ethereum/crypto/kzg4844"
|
||||
"github.com/luxdefi/evm/interfaces/ethdb/memorydb"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
ethparams "github.com/luxdefi/evm/interfaces/params"
|
||||
ethparams "github.com/ethereum/go-ethereum/params"
|
||||
"github.com/ethereum/go-ethereum/rlp"
|
||||
"github.com/luxdefi/evm/commontype"
|
||||
"github.com/luxdefi/evm/consensus/misc/eip4844"
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
ethparams "github.com/luxdefi/evm/interfaces/params"
|
||||
ethparams "github.com/ethereum/go-ethereum/params"
|
||||
"github.com/holiman/uint256"
|
||||
)
|
||||
|
||||
|
||||
@@ -29,10 +29,10 @@ package blobpool
|
||||
import (
|
||||
"math/big"
|
||||
<<<<<<< HEAD:core/rawdb/databases_non64bit.go
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
=======
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/luxdefi/evm/commontype"
|
||||
"github.com/luxdefi/evm/core/state"
|
||||
"github.com/luxdefi/evm/params"
|
||||
|
||||
@@ -30,7 +30,7 @@ import (
|
||||
"errors"
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/luxdefi/evm/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
"github.com/ethereum/go-ethereum/rlp"
|
||||
"github.com/holiman/billy"
|
||||
|
||||
@@ -44,7 +44,7 @@ func newSlotter() func() (uint32, bool) {
|
||||
finished := slotsize > maxBlobsPerTransaction*blobSize+txMaxSize
|
||||
|
||||
<<<<<<< HEAD:ethdb/pebble/pebble_test.go
|
||||
"github.com/luxdefi/evm/ethdb"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/luxdefi/evm/ethdb/dbtest"
|
||||
"github.com/cockroachdb/pebble"
|
||||
"github.com/cockroachdb/pebble/vfs"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user