aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJM <jm@dexon.org>2019-01-15 23:33:28 +0800
committerGitHub <noreply@github.com>2019-01-15 23:33:28 +0800
commit020c8a477578cef3764b54f33d9ca0cf6caf7631 (patch)
tree08a669a19cc428b8c48dad180f1f32096885826b /tests
parentbdde6109ffa6fa4d295708a2a75271186a12c761 (diff)
downloaddexon-020c8a477578cef3764b54f33d9ca0cf6caf7631.tar
dexon-020c8a477578cef3764b54f33d9ca0cf6caf7631.tar.gz
dexon-020c8a477578cef3764b54f33d9ca0cf6caf7631.tar.bz2
dexon-020c8a477578cef3764b54f33d9ca0cf6caf7631.tar.lz
dexon-020c8a477578cef3764b54f33d9ca0cf6caf7631.tar.xz
dexon-020c8a477578cef3764b54f33d9ca0cf6caf7631.tar.zst
dexon-020c8a477578cef3764b54f33d9ca0cf6caf7631.zip
core: vm: refactor file structure (#151)
For support other vm types, this pr modified the core/vm file structures.
Diffstat (limited to 'tests')
-rw-r--r--tests/block_test_util.go2
-rw-r--r--tests/state_test.go2
-rw-r--r--tests/state_test_util.go2
-rw-r--r--tests/vm_test.go2
-rw-r--r--tests/vm_test_util.go2
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/block_test_util.go b/tests/block_test_util.go
index 130d1eda3..7d5c391fa 100644
--- a/tests/block_test_util.go
+++ b/tests/block_test_util.go
@@ -32,7 +32,7 @@ import (
"github.com/dexon-foundation/dexon/core"
"github.com/dexon-foundation/dexon/core/state"
"github.com/dexon-foundation/dexon/core/types"
- "github.com/dexon-foundation/dexon/core/vm"
+ vm "github.com/dexon-foundation/dexon/core/vm/evm"
"github.com/dexon-foundation/dexon/ethdb"
"github.com/dexon-foundation/dexon/params"
"github.com/dexon-foundation/dexon/rlp"
diff --git a/tests/state_test.go b/tests/state_test.go
index dcba09bf3..41b2224e9 100644
--- a/tests/state_test.go
+++ b/tests/state_test.go
@@ -24,7 +24,7 @@ import (
"testing"
"github.com/dexon-foundation/dexon/cmd/utils"
- "github.com/dexon-foundation/dexon/core/vm"
+ vm "github.com/dexon-foundation/dexon/core/vm/evm"
)
func TestState(t *testing.T) {
diff --git a/tests/state_test_util.go b/tests/state_test_util.go
index 5d0923dd1..17d9834d5 100644
--- a/tests/state_test_util.go
+++ b/tests/state_test_util.go
@@ -29,7 +29,7 @@ import (
"github.com/dexon-foundation/dexon/core"
"github.com/dexon-foundation/dexon/core/state"
"github.com/dexon-foundation/dexon/core/types"
- "github.com/dexon-foundation/dexon/core/vm"
+ vm "github.com/dexon-foundation/dexon/core/vm/evm"
"github.com/dexon-foundation/dexon/crypto"
"github.com/dexon-foundation/dexon/crypto/sha3"
"github.com/dexon-foundation/dexon/ethdb"
diff --git a/tests/vm_test.go b/tests/vm_test.go
index a5d5b2ba5..b7746188c 100644
--- a/tests/vm_test.go
+++ b/tests/vm_test.go
@@ -19,7 +19,7 @@ package tests
import (
"testing"
- "github.com/dexon-foundation/dexon/core/vm"
+ vm "github.com/dexon-foundation/dexon/core/vm/evm"
)
func TestVM(t *testing.T) {
diff --git a/tests/vm_test_util.go b/tests/vm_test_util.go
index d79d18fbf..316213ea5 100644
--- a/tests/vm_test_util.go
+++ b/tests/vm_test_util.go
@@ -27,7 +27,7 @@ import (
"github.com/dexon-foundation/dexon/common/math"
"github.com/dexon-foundation/dexon/core"
"github.com/dexon-foundation/dexon/core/state"
- "github.com/dexon-foundation/dexon/core/vm"
+ vm "github.com/dexon-foundation/dexon/core/vm/evm"
"github.com/dexon-foundation/dexon/crypto"
"github.com/dexon-foundation/dexon/ethdb"
"github.com/dexon-foundation/dexon/params"