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 /dex | |
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 'dex')
-rw-r--r-- | dex/api_backend.go | 2 | ||||
-rw-r--r-- | dex/api_tracer.go | 2 | ||||
-rw-r--r-- | dex/backend.go | 2 | ||||
-rw-r--r-- | dex/downloader/downloader.go | 2 | ||||
-rw-r--r-- | dex/downloader/downloader_test.go | 2 | ||||
-rw-r--r-- | dex/downloader/testchain_test.go | 2 | ||||
-rw-r--r-- | dex/governance.go | 2 | ||||
-rw-r--r-- | dex/helper_test.go | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/dex/api_backend.go b/dex/api_backend.go index d423b41f7..7822881b2 100644 --- a/dex/api_backend.go +++ b/dex/api_backend.go @@ -28,7 +28,7 @@ import ( "github.com/dexon-foundation/dexon/core/rawdb" "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/eth/gasprice" "github.com/dexon-foundation/dexon/internal/ethapi" diff --git a/dex/api_tracer.go b/dex/api_tracer.go index bb6acd764..450f0bfab 100644 --- a/dex/api_tracer.go +++ b/dex/api_tracer.go @@ -32,7 +32,7 @@ import ( "github.com/dexon-foundation/dexon/core/rawdb" "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/eth/tracers" "github.com/dexon-foundation/dexon/internal/ethapi" "github.com/dexon-foundation/dexon/log" diff --git a/dex/backend.go b/dex/backend.go index 29ac42906..55ebea5fd 100644 --- a/dex/backend.go +++ b/dex/backend.go @@ -28,7 +28,7 @@ import ( "github.com/dexon-foundation/dexon/core" "github.com/dexon-foundation/dexon/core/bloombits" "github.com/dexon-foundation/dexon/core/rawdb" - "github.com/dexon-foundation/dexon/core/vm" + vm "github.com/dexon-foundation/dexon/core/vm/evm" "github.com/dexon-foundation/dexon/dex/downloader" "github.com/dexon-foundation/dexon/eth/filters" "github.com/dexon-foundation/dexon/eth/gasprice" diff --git a/dex/downloader/downloader.go b/dex/downloader/downloader.go index e3960ea30..806ae1d0f 100644 --- a/dex/downloader/downloader.go +++ b/dex/downloader/downloader.go @@ -31,7 +31,7 @@ import ( "github.com/dexon-foundation/dexon/core/rawdb" "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/ethdb" "github.com/dexon-foundation/dexon/event" diff --git a/dex/downloader/downloader_test.go b/dex/downloader/downloader_test.go index e8ec0056b..ede977607 100644 --- a/dex/downloader/downloader_test.go +++ b/dex/downloader/downloader_test.go @@ -32,7 +32,7 @@ import ( "github.com/dexon-foundation/dexon/consensus/dexcon" "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/event" "github.com/dexon-foundation/dexon/rlp" diff --git a/dex/downloader/testchain_test.go b/dex/downloader/testchain_test.go index b59a83b2c..8e9723938 100644 --- a/dex/downloader/testchain_test.go +++ b/dex/downloader/testchain_test.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/ethdb" "github.com/dexon-foundation/dexon/params" diff --git a/dex/governance.go b/dex/governance.go index 0614ae910..1eb17c6ca 100644 --- a/dex/governance.go +++ b/dex/governance.go @@ -28,7 +28,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/log" "github.com/dexon-foundation/dexon/params" diff --git a/dex/helper_test.go b/dex/helper_test.go index 4f5541052..5c5aa249a 100644 --- a/dex/helper_test.go +++ b/dex/helper_test.go @@ -31,7 +31,7 @@ import ( "github.com/dexon-foundation/dexon/consensus/ethash" "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/dex/downloader" "github.com/dexon-foundation/dexon/ethdb" |