aboutsummaryrefslogtreecommitdiffstats
path: root/consensus
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 /consensus
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 'consensus')
-rw-r--r--consensus/clique/snapshot_test.go2
-rw-r--r--consensus/dexcon/dexcon.go2
-rw-r--r--consensus/dexcon/dexcon_test.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/consensus/clique/snapshot_test.go b/consensus/clique/snapshot_test.go
index d60005c7c..4ea86a77f 100644
--- a/consensus/clique/snapshot_test.go
+++ b/consensus/clique/snapshot_test.go
@@ -25,7 +25,7 @@ import (
"github.com/dexon-foundation/dexon/common"
"github.com/dexon-foundation/dexon/core"
"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/ethdb"
"github.com/dexon-foundation/dexon/params"
diff --git a/consensus/dexcon/dexcon.go b/consensus/dexcon/dexcon.go
index 4480f64cb..b7f5f23f4 100644
--- a/consensus/dexcon/dexcon.go
+++ b/consensus/dexcon/dexcon.go
@@ -23,7 +23,7 @@ import (
"github.com/dexon-foundation/dexon/consensus"
"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/rpc"
)
diff --git a/consensus/dexcon/dexcon_test.go b/consensus/dexcon/dexcon_test.go
index 7ba1be876..7b41da7e1 100644
--- a/consensus/dexcon/dexcon_test.go
+++ b/consensus/dexcon/dexcon_test.go
@@ -25,7 +25,7 @@ import (
"github.com/dexon-foundation/dexon/common"
"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"