aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
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-03-26 17:48:17 +0800
commitd62272c95d13fd4928e5c14794c25f671a71bd95 (patch)
tree901195f8e3850e1e9f51ec1a160e1b4d00662583 /cmd
parent54ab3efcd95426d2f126a7b0fe99dd0a4751b944 (diff)
downloaddexon-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 'cmd')
-rw-r--r--cmd/evm/runner.go4
-rw-r--r--cmd/evm/staterunner.go2
-rw-r--r--cmd/utils/flags.go2
3 files changed, 4 insertions, 4 deletions
diff --git a/cmd/evm/runner.go b/cmd/evm/runner.go
index 114b9fd60..48782b496 100644
--- a/cmd/evm/runner.go
+++ b/cmd/evm/runner.go
@@ -32,8 +32,8 @@ import (
"github.com/dexon-foundation/dexon/common"
"github.com/dexon-foundation/dexon/core"
"github.com/dexon-foundation/dexon/core/state"
- "github.com/dexon-foundation/dexon/core/vm"
- "github.com/dexon-foundation/dexon/core/vm/runtime"
+ vm "github.com/dexon-foundation/dexon/core/vm/evm"
+ "github.com/dexon-foundation/dexon/core/vm/evm/runtime"
"github.com/dexon-foundation/dexon/ethdb"
"github.com/dexon-foundation/dexon/log"
"github.com/dexon-foundation/dexon/params"
diff --git a/cmd/evm/staterunner.go b/cmd/evm/staterunner.go
index b76dc3ca4..ee96a539c 100644
--- a/cmd/evm/staterunner.go
+++ b/cmd/evm/staterunner.go
@@ -24,7 +24,7 @@ import (
"os"
"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/log"
"github.com/dexon-foundation/dexon/tests"
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index 8bb6e4e97..bfa4651bf 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -36,7 +36,7 @@ import (
"github.com/dexon-foundation/dexon/consensus/ethash"
"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/dashboard"
"github.com/dexon-foundation/dexon/dex"