aboutsummaryrefslogtreecommitdiffstats
path: root/consensus
diff options
context:
space:
mode:
authorjm <jm.huang@cobinhood.com>2019-01-15 00:48:13 +0800
committerJhih-Ming Huang <jm.huang@cobinhood.com>2019-02-19 12:12:35 +0800
commit8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6 (patch)
treecd57c85d5c7a646626654aadad70b5afaab61f6e /consensus
parent4356885cf337109e62ac7d78a834d347a150b5a0 (diff)
downloaddexon-8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6.tar
dexon-8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6.tar.gz
dexon-8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6.tar.bz2
dexon-8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6.tar.lz
dexon-8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6.tar.xz
dexon-8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6.tar.zst
dexon-8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6.zip
core: vm: refactor file structure
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 2e406f0b0..cd774635f 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"