aboutsummaryrefslogtreecommitdiffstats
path: root/internal
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-04-11 10:39:57 +0800
commit892743b3c09559c62109c2d0e9fe90b31ef8f049 (patch)
treeb9aa177a8fe9a734e2676511e749b83480479115 /internal
parentf1ed7d074fe1d574a84c308c6ad878dc2d153654 (diff)
downloaddexon-892743b3c09559c62109c2d0e9fe90b31ef8f049.tar
dexon-892743b3c09559c62109c2d0e9fe90b31ef8f049.tar.gz
dexon-892743b3c09559c62109c2d0e9fe90b31ef8f049.tar.bz2
dexon-892743b3c09559c62109c2d0e9fe90b31ef8f049.tar.lz
dexon-892743b3c09559c62109c2d0e9fe90b31ef8f049.tar.xz
dexon-892743b3c09559c62109c2d0e9fe90b31ef8f049.tar.zst
dexon-892743b3c09559c62109c2d0e9fe90b31ef8f049.zip
core: vm: refactor file structure
For support other vm types, this pr modified the core/vm file structures.
Diffstat (limited to 'internal')
-rw-r--r--internal/ethapi/api.go2
-rw-r--r--internal/ethapi/backend.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go
index 1be3bb413..ccc383baf 100644
--- a/internal/ethapi/api.go
+++ b/internal/ethapi/api.go
@@ -35,7 +35,7 @@ import (
"github.com/dexon-foundation/dexon/core"
"github.com/dexon-foundation/dexon/core/rawdb"
"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/p2p"
diff --git a/internal/ethapi/backend.go b/internal/ethapi/backend.go
index da13d3661..256da5dde 100644
--- a/internal/ethapi/backend.go
+++ b/internal/ethapi/backend.go
@@ -27,7 +27,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/ethdb"
"github.com/dexon-foundation/dexon/event"
"github.com/dexon-foundation/dexon/params"