aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-23 23:59:09 +0800
committerobscuren <geffobscura@gmail.com>2015-03-23 23:59:09 +0800
commit0330077d76b48934ab024a309000f83c78047d8a (patch)
tree2a3ffbcd5bd941b30ed28d0eb5c30553a25324e0
parentd7eaa97a297151637af090ecb05bbd6d260d90b8 (diff)
downloaddexon-0330077d76b48934ab024a309000f83c78047d8a.tar.gz
dexon-0330077d76b48934ab024a309000f83c78047d8a.tar.zst
dexon-0330077d76b48934ab024a309000f83c78047d8a.zip
moved state and vm to core
-rw-r--r--cmd/disasm/main.go2
-rw-r--r--cmd/ethereum/admin.go2
-rw-r--r--cmd/ethereum/main.go2
-rw-r--r--cmd/ethtest/main.go4
-rw-r--r--cmd/evm/main.go4
-rw-r--r--cmd/mist/bindings.go2
-rw-r--r--core/asm.go2
-rw-r--r--core/block_processor.go2
-rw-r--r--core/chain_makers.go2
-rw-r--r--core/chain_manager.go2
-rw-r--r--core/events.go2
-rw-r--r--core/execution.go4
-rw-r--r--core/filter.go2
-rw-r--r--core/genesis.go2
-rw-r--r--core/state/dump.go (renamed from state/dump.go)0
-rw-r--r--core/state/errors.go (renamed from state/errors.go)0
-rw-r--r--core/state/log.go (renamed from state/log.go)0
-rw-r--r--core/state/main_test.go (renamed from state/main_test.go)0
-rw-r--r--core/state/managed_state.go (renamed from state/managed_state.go)0
-rw-r--r--core/state/managed_state_test.go (renamed from state/managed_state_test.go)0
-rw-r--r--core/state/state_object.go (renamed from state/state_object.go)0
-rw-r--r--core/state/state_test.go (renamed from state/state_test.go)0
-rw-r--r--core/state/statedb.go (renamed from state/statedb.go)0
-rw-r--r--core/state_transition.go4
-rw-r--r--core/transaction_pool_test.go2
-rw-r--r--core/types/bloom9.go2
-rw-r--r--core/types/bloom9_test.go2
-rw-r--r--core/types/common.go2
-rw-r--r--core/types/receipt.go2
-rw-r--r--core/vm/address.go (renamed from vm/address.go)0
-rw-r--r--core/vm/analysis.go (renamed from vm/analysis.go)0
-rw-r--r--core/vm/asm.go (renamed from vm/asm.go)0
-rw-r--r--core/vm/common.go (renamed from vm/common.go)0
-rw-r--r--core/vm/context.go (renamed from vm/context.go)0
-rw-r--r--core/vm/environment.go (renamed from vm/environment.go)2
-rw-r--r--core/vm/errors.go (renamed from vm/errors.go)0
-rw-r--r--core/vm/gas.go (renamed from vm/gas.go)0
-rw-r--r--core/vm/main_test.go (renamed from vm/main_test.go)0
-rw-r--r--core/vm/memory.go (renamed from vm/memory.go)0
-rw-r--r--core/vm/stack.go (renamed from vm/stack.go)0
-rw-r--r--core/vm/types.go (renamed from vm/types.go)0
-rw-r--r--core/vm/virtual_machine.go (renamed from vm/virtual_machine.go)0
-rw-r--r--core/vm/vm.go (renamed from vm/vm.go)2
-rw-r--r--core/vm/vm_jit.go (renamed from vm/vm_jit.go)2
-rw-r--r--core/vm/vm_jit_fake.go (renamed from vm/vm_jit_fake.go)0
-rw-r--r--core/vm/vm_test.go (renamed from vm/vm_test.go)0
-rw-r--r--core/vm_env.go4
-rw-r--r--eth/backend.go2
-rw-r--r--event/filter/eth_filter.go2
-rw-r--r--miner/worker.go2
-rw-r--r--rpc/responses.go2
-rw-r--r--tests/blocktest.go2
-rw-r--r--tests/helper/vm.go4
-rw-r--r--tests/vm/gh_test.go2
-rw-r--r--vm/.ethtest0
-rw-r--r--xeth/state.go2
-rw-r--r--xeth/types.go2
-rw-r--r--xeth/xeth.go2
58 files changed, 40 insertions, 40 deletions
diff --git a/cmd/disasm/main.go b/cmd/disasm/main.go
index 5d42121b6..5b658046f 100644
--- a/cmd/disasm/main.go
+++ b/cmd/disasm/main.go
@@ -6,7 +6,7 @@ import (
"os"
"github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/vm"
+ "github.com/ethereum/go-ethereum/core/vm"
)
func main() {
diff --git a/cmd/ethereum/admin.go b/cmd/ethereum/admin.go
index 65adb4086..139395dad 100644
--- a/cmd/ethereum/admin.go
+++ b/cmd/ethereum/admin.go
@@ -12,7 +12,7 @@ import (
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/rlp"
"github.com/ethereum/go-ethereum/rpc"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
"github.com/ethereum/go-ethereum/xeth"
"github.com/robertkrimen/otto"
)
diff --git a/cmd/ethereum/main.go b/cmd/ethereum/main.go
index e351453b1..5ad4c0a4e 100644
--- a/cmd/ethereum/main.go
+++ b/cmd/ethereum/main.go
@@ -36,7 +36,7 @@ import (
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/eth"
"github.com/ethereum/go-ethereum/logger"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
"github.com/peterh/liner"
)
diff --git a/cmd/ethtest/main.go b/cmd/ethtest/main.go
index fdf573fd8..f5b423e8d 100644
--- a/cmd/ethtest/main.go
+++ b/cmd/ethtest/main.go
@@ -36,9 +36,9 @@ import (
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/ethdb"
"github.com/ethereum/go-ethereum/logger"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
"github.com/ethereum/go-ethereum/tests/helper"
- "github.com/ethereum/go-ethereum/vm"
+ "github.com/ethereum/go-ethereum/core/vm"
)
type Log struct {
diff --git a/cmd/evm/main.go b/cmd/evm/main.go
index 17137e4bb..76e34e21d 100644
--- a/cmd/evm/main.go
+++ b/cmd/evm/main.go
@@ -35,8 +35,8 @@ import (
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/ethdb"
"github.com/ethereum/go-ethereum/logger"
- "github.com/ethereum/go-ethereum/state"
- "github.com/ethereum/go-ethereum/vm"
+ "github.com/ethereum/go-ethereum/core/state"
+ "github.com/ethereum/go-ethereum/core/vm"
)
var (
diff --git a/cmd/mist/bindings.go b/cmd/mist/bindings.go
index 5d45d927e..8a9ec7cb1 100644
--- a/cmd/mist/bindings.go
+++ b/cmd/mist/bindings.go
@@ -28,7 +28,7 @@ import (
"github.com/ethereum/go-ethereum/cmd/utils"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
)
type plugin struct {
diff --git a/core/asm.go b/core/asm.go
index fc3493fe1..f40c07904 100644
--- a/core/asm.go
+++ b/core/asm.go
@@ -5,7 +5,7 @@ import (
"math/big"
"github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/vm"
+ "github.com/ethereum/go-ethereum/core/vm"
)
func Disassemble(script []byte) (asm []string) {
diff --git a/core/block_processor.go b/core/block_processor.go
index ae8d5fe7b..4bcede85e 100644
--- a/core/block_processor.go
+++ b/core/block_processor.go
@@ -12,7 +12,7 @@ import (
"github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/pow"
"github.com/ethereum/go-ethereum/rlp"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
"gopkg.in/fatih/set.v0"
)
diff --git a/core/chain_makers.go b/core/chain_makers.go
index e3001331c..d559b2a3a 100644
--- a/core/chain_makers.go
+++ b/core/chain_makers.go
@@ -8,7 +8,7 @@ import (
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/pow"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
)
// So we can generate blocks easily
diff --git a/core/chain_manager.go b/core/chain_manager.go
index a3be3878f..3e030838a 100644
--- a/core/chain_manager.go
+++ b/core/chain_manager.go
@@ -12,7 +12,7 @@ import (
"github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/rlp"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
)
var (
diff --git a/core/events.go b/core/events.go
index b93f27c51..3da668af5 100644
--- a/core/events.go
+++ b/core/events.go
@@ -2,7 +2,7 @@ package core
import (
"github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
)
// TxPreEvent is posted when a transaction enters the transaction pool.
diff --git a/core/execution.go b/core/execution.go
index 4f15fb42a..92d932a9f 100644
--- a/core/execution.go
+++ b/core/execution.go
@@ -6,8 +6,8 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
- "github.com/ethereum/go-ethereum/state"
- "github.com/ethereum/go-ethereum/vm"
+ "github.com/ethereum/go-ethereum/core/state"
+ "github.com/ethereum/go-ethereum/core/vm"
)
type Execution struct {
diff --git a/core/filter.go b/core/filter.go
index b5d9deb7a..901931d99 100644
--- a/core/filter.go
+++ b/core/filter.go
@@ -5,7 +5,7 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
)
type AccountChange struct {
diff --git a/core/genesis.go b/core/genesis.go
index 3e00533ae..e0d3e51b8 100644
--- a/core/genesis.go
+++ b/core/genesis.go
@@ -8,7 +8,7 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
)
/*
diff --git a/state/dump.go b/core/state/dump.go
index 712f8da1f..712f8da1f 100644
--- a/state/dump.go
+++ b/core/state/dump.go
diff --git a/state/errors.go b/core/state/errors.go
index 5a847d38b..5a847d38b 100644
--- a/state/errors.go
+++ b/core/state/errors.go
diff --git a/state/log.go b/core/state/log.go
index f8aa4c08c..f8aa4c08c 100644
--- a/state/log.go
+++ b/core/state/log.go
diff --git a/state/main_test.go b/core/state/main_test.go
index f3d3f7e23..f3d3f7e23 100644
--- a/state/main_test.go
+++ b/core/state/main_test.go
diff --git a/state/managed_state.go b/core/state/managed_state.go
index 0fcc1be67..0fcc1be67 100644
--- a/state/managed_state.go
+++ b/core/state/managed_state.go
diff --git a/state/managed_state_test.go b/core/state/managed_state_test.go
index b61f59e6d..b61f59e6d 100644
--- a/state/managed_state_test.go
+++ b/core/state/managed_state_test.go
diff --git a/state/state_object.go b/core/state/state_object.go
index a7c20722c..a7c20722c 100644
--- a/state/state_object.go
+++ b/core/state/state_object.go
diff --git a/state/state_test.go b/core/state/state_test.go
index a3d3973de..a3d3973de 100644
--- a/state/state_test.go
+++ b/core/state/state_test.go
diff --git a/state/statedb.go b/core/state/statedb.go
index 6fcd39dbc..6fcd39dbc 100644
--- a/state/statedb.go
+++ b/core/state/statedb.go
diff --git a/core/state_transition.go b/core/state_transition.go
index d0b2c5d7c..e530567d0 100644
--- a/core/state_transition.go
+++ b/core/state_transition.go
@@ -6,8 +6,8 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
- "github.com/ethereum/go-ethereum/state"
- "github.com/ethereum/go-ethereum/vm"
+ "github.com/ethereum/go-ethereum/core/state"
+ "github.com/ethereum/go-ethereum/core/vm"
)
const tryJit = false
diff --git a/core/transaction_pool_test.go b/core/transaction_pool_test.go
index bf9012573..a009a4c9d 100644
--- a/core/transaction_pool_test.go
+++ b/core/transaction_pool_test.go
@@ -9,7 +9,7 @@ import (
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/ethdb"
"github.com/ethereum/go-ethereum/event"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
)
// State query interface
diff --git a/core/types/bloom9.go b/core/types/bloom9.go
index 64a8ff49a..af90679ce 100644
--- a/core/types/bloom9.go
+++ b/core/types/bloom9.go
@@ -5,7 +5,7 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
)
func CreateBloom(receipts Receipts) Bloom {
diff --git a/core/types/bloom9_test.go b/core/types/bloom9_test.go
index 0841bb859..3c95772ec 100644
--- a/core/types/bloom9_test.go
+++ b/core/types/bloom9_test.go
@@ -4,7 +4,7 @@ package types
import (
"testing"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
)
func TestBloom9(t *testing.T) {
diff --git a/core/types/common.go b/core/types/common.go
index ce1090919..4397d4938 100644
--- a/core/types/common.go
+++ b/core/types/common.go
@@ -4,7 +4,7 @@ import (
"math/big"
"github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
"fmt"
)
diff --git a/core/types/receipt.go b/core/types/receipt.go
index f88d42b29..83c981f93 100644
--- a/core/types/receipt.go
+++ b/core/types/receipt.go
@@ -8,7 +8,7 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/rlp"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
)
type Receipt struct {
diff --git a/vm/address.go b/core/vm/address.go
index 215f4bc8f..215f4bc8f 100644
--- a/vm/address.go
+++ b/core/vm/address.go
diff --git a/vm/analysis.go b/core/vm/analysis.go
index 411df5686..411df5686 100644
--- a/vm/analysis.go
+++ b/core/vm/analysis.go
diff --git a/vm/asm.go b/core/vm/asm.go
index 83fcb0e08..83fcb0e08 100644
--- a/vm/asm.go
+++ b/core/vm/asm.go
diff --git a/vm/common.go b/core/vm/common.go
index 8d8f4253f..8d8f4253f 100644
--- a/vm/common.go
+++ b/core/vm/common.go
diff --git a/vm/context.go b/core/vm/context.go
index e73199b77..e73199b77 100644
--- a/vm/context.go
+++ b/core/vm/context.go
diff --git a/vm/environment.go b/core/vm/environment.go
index 5d493166c..a0a18a99b 100644
--- a/vm/environment.go
+++ b/core/vm/environment.go
@@ -8,7 +8,7 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/rlp"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
)
type Environment interface {
diff --git a/vm/errors.go b/core/vm/errors.go
index ab011bd62..ab011bd62 100644
--- a/vm/errors.go
+++ b/core/vm/errors.go
diff --git a/vm/gas.go b/core/vm/gas.go
index c4d5e4c4e..c4d5e4c4e 100644
--- a/vm/gas.go
+++ b/core/vm/gas.go
diff --git a/vm/main_test.go b/core/vm/main_test.go
index 0ae03bf6a..0ae03bf6a 100644
--- a/vm/main_test.go
+++ b/core/vm/main_test.go
diff --git a/vm/memory.go b/core/vm/memory.go
index dd47fa1b5..dd47fa1b5 100644
--- a/vm/memory.go
+++ b/core/vm/memory.go
diff --git a/vm/stack.go b/core/vm/stack.go
index c5c2774db..c5c2774db 100644
--- a/vm/stack.go
+++ b/core/vm/stack.go
diff --git a/vm/types.go b/core/vm/types.go
index 1ea80a212..1ea80a212 100644
--- a/vm/types.go
+++ b/core/vm/types.go
diff --git a/vm/virtual_machine.go b/core/vm/virtual_machine.go
index 6db284f42..6db284f42 100644
--- a/vm/virtual_machine.go
+++ b/core/vm/virtual_machine.go
diff --git a/vm/vm.go b/core/vm/vm.go
index 7400a48c4..f4bf1ca72 100644
--- a/vm/vm.go
+++ b/core/vm/vm.go
@@ -6,7 +6,7 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
)
type Vm struct {
diff --git a/vm/vm_jit.go b/core/vm/vm_jit.go
index 9d26957f0..2b88d8620 100644
--- a/vm/vm_jit.go
+++ b/core/vm/vm_jit.go
@@ -19,7 +19,7 @@ import (
"errors"
"fmt"
"github.com/ethereum/go-ethereum/crypto"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
"math/big"
"unsafe"
)
diff --git a/vm/vm_jit_fake.go b/core/vm/vm_jit_fake.go
index d6b5be45b..d6b5be45b 100644
--- a/vm/vm_jit_fake.go
+++ b/core/vm/vm_jit_fake.go
diff --git a/vm/vm_test.go b/core/vm/vm_test.go
index 9bd147a72..9bd147a72 100644
--- a/vm/vm_test.go
+++ b/core/vm/vm_test.go
diff --git a/core/vm_env.go b/core/vm_env.go
index 7845d1cd9..d786844dc 100644
--- a/core/vm_env.go
+++ b/core/vm_env.go
@@ -5,8 +5,8 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/state"
- "github.com/ethereum/go-ethereum/vm"
+ "github.com/ethereum/go-ethereum/core/state"
+ "github.com/ethereum/go-ethereum/core/vm"
)
type VMEnv struct {
diff --git a/eth/backend.go b/eth/backend.go
index 06c3cbd17..11ef9660f 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -21,7 +21,7 @@ import (
"github.com/ethereum/go-ethereum/p2p"
"github.com/ethereum/go-ethereum/p2p/discover"
"github.com/ethereum/go-ethereum/p2p/nat"
- "github.com/ethereum/go-ethereum/vm"
+ "github.com/ethereum/go-ethereum/core/vm"
"github.com/ethereum/go-ethereum/whisper"
)
diff --git a/event/filter/eth_filter.go b/event/filter/eth_filter.go
index 1abd48389..dc032b5c2 100644
--- a/event/filter/eth_filter.go
+++ b/event/filter/eth_filter.go
@@ -7,7 +7,7 @@ import (
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/event"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
)
type FilterManager struct {
diff --git a/miner/worker.go b/miner/worker.go
index 587036f22..e21765f9d 100644
--- a/miner/worker.go
+++ b/miner/worker.go
@@ -13,7 +13,7 @@ import (
"github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/pow"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
"gopkg.in/fatih/set.v0"
)
diff --git a/rpc/responses.go b/rpc/responses.go
index 1ec5f08eb..993f467ea 100644
--- a/rpc/responses.go
+++ b/rpc/responses.go
@@ -7,7 +7,7 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
)
type BlockRes struct {
diff --git a/tests/blocktest.go b/tests/blocktest.go
index 5719a835b..34bd69ac8 100644
--- a/tests/blocktest.go
+++ b/tests/blocktest.go
@@ -15,7 +15,7 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/rlp"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
)
// Block Test JSON Format
diff --git a/tests/helper/vm.go b/tests/helper/vm.go
index 44c108870..68ae8e97b 100644
--- a/tests/helper/vm.go
+++ b/tests/helper/vm.go
@@ -7,8 +7,8 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/crypto"
- "github.com/ethereum/go-ethereum/state"
- "github.com/ethereum/go-ethereum/vm"
+ "github.com/ethereum/go-ethereum/core/state"
+ "github.com/ethereum/go-ethereum/core/vm"
)
type Env struct {
diff --git a/tests/vm/gh_test.go b/tests/vm/gh_test.go
index 68600d304..123e8ccb5 100644
--- a/tests/vm/gh_test.go
+++ b/tests/vm/gh_test.go
@@ -10,7 +10,7 @@ import (
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/ethdb"
"github.com/ethereum/go-ethereum/logger"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
"github.com/ethereum/go-ethereum/tests/helper"
)
diff --git a/vm/.ethtest b/vm/.ethtest
deleted file mode 100644
index e69de29bb..000000000
--- a/vm/.ethtest
+++ /dev/null
diff --git a/xeth/state.go b/xeth/state.go
index f645a9cac..b0f2ce019 100644
--- a/xeth/state.go
+++ b/xeth/state.go
@@ -2,7 +2,7 @@ package xeth
import (
"github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
)
type State struct {
diff --git a/xeth/types.go b/xeth/types.go
index b4ba7bab0..09d0dc714 100644
--- a/xeth/types.go
+++ b/xeth/types.go
@@ -11,7 +11,7 @@ import (
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/p2p"
"github.com/ethereum/go-ethereum/rlp"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
)
type Object struct {
diff --git a/xeth/xeth.go b/xeth/xeth.go
index f7f4ce0cf..02a691ffb 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -19,7 +19,7 @@ import (
"github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/miner"
"github.com/ethereum/go-ethereum/p2p"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
"github.com/ethereum/go-ethereum/whisper"
)