diff options
author | jm <jm.huang@cobinhood.com> | 2019-01-15 00:48:13 +0800 |
---|---|---|
committer | Jhih-Ming Huang <jm.huang@cobinhood.com> | 2019-03-26 17:48:17 +0800 |
commit | d62272c95d13fd4928e5c14794c25f671a71bd95 (patch) | |
tree | 901195f8e3850e1e9f51ec1a160e1b4d00662583 /consensus | |
parent | 54ab3efcd95426d2f126a7b0fe99dd0a4751b944 (diff) | |
download | dexon-d62272c95d13fd4928e5c14794c25f671a71bd95.tar dexon-d62272c95d13fd4928e5c14794c25f671a71bd95.tar.gz dexon-d62272c95d13fd4928e5c14794c25f671a71bd95.tar.bz2 dexon-d62272c95d13fd4928e5c14794c25f671a71bd95.tar.lz dexon-d62272c95d13fd4928e5c14794c25f671a71bd95.tar.xz dexon-d62272c95d13fd4928e5c14794c25f671a71bd95.tar.zst dexon-d62272c95d13fd4928e5c14794c25f671a71bd95.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.go | 2 | ||||
-rw-r--r-- | consensus/dexcon/dexcon.go | 2 | ||||
-rw-r--r-- | consensus/dexcon/dexcon_test.go | 2 |
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 0b6fa192f..7095ac758 100644 --- a/consensus/dexcon/dexcon.go +++ b/consensus/dexcon/dexcon.go @@ -25,7 +25,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/log" "github.com/dexon-foundation/dexon/rpc" ) diff --git a/consensus/dexcon/dexcon_test.go b/consensus/dexcon/dexcon_test.go index bfded8db8..c28988bc8 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" |