provide vm_message as import/export wrapper
details: moved original vm/message.nim => vm/nvm_message.nim
This commit is contained in:
parent
cf3a356d76
commit
eee24de450
|
@ -1,5 +1,5 @@
|
|||
import ../db/db_chain, eth/common, chronicles, ../vm_state, ../vm_types,
|
||||
../vm_computation, ../vm/message, ./vm_forks, stint, nimcrypto,
|
||||
../vm_computation, ../vm_message, ./vm_forks, stint, nimcrypto,
|
||||
../utils, eth/trie/db, ./executor, ../config, ../genesis, ../utils,
|
||||
stew/endians2
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ import options, sets,
|
|||
../db/[db_chain, accounts_cache],
|
||||
../utils, ../constants, ../transaction,
|
||||
../vm_state, ../vm_types, ../vm_state_transactions,
|
||||
../vm_computation, vm/[message, precompiles],
|
||||
../vm_computation, ../vm_message, ../vm/precompiles,
|
||||
./vm_forks,
|
||||
./dao, ../config
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ import
|
|||
eth/p2p/rlpx_protocols/eth_protocol,
|
||||
../transaction, ../config, ../vm_state, ../constants, ../vm_types,
|
||||
../utils, ../db/[db_chain, state_db],
|
||||
rpc_types, rpc_utils, ../vm/message, ../vm_computation,
|
||||
rpc_types, rpc_utils, ../vm_message, ../vm_computation,
|
||||
../vm_forks
|
||||
|
||||
#[
|
||||
|
|
|
@ -9,11 +9,11 @@ import
|
|||
vm/interpreter/[opcode_values, gas_meter, nvm_forks]
|
||||
|
||||
import # Used in vm_types. Beware of recursive dependencies
|
||||
vm/[code_stream, nvm_computation, stack, message]
|
||||
vm/[code_stream, nvm_computation, stack, nvm_message]
|
||||
|
||||
export
|
||||
opcode_values, gas_meter,
|
||||
nvm_forks
|
||||
|
||||
export
|
||||
code_stream, nvm_computation, stack, message
|
||||
code_stream, nvm_computation, stack, nvm_message
|
||||
|
|
|
@ -10,7 +10,7 @@ import
|
|||
sets, eth/[common, keys],
|
||||
constants, errors,
|
||||
vm/interpreter/[opcode_values, gas_meter, nvm_gas_costs, nvm_forks],
|
||||
vm/[code_stream, memory, message, stack, nvm_types, nvm_state],
|
||||
vm/[code_stream, memory, nvm_message, stack, nvm_types, nvm_state],
|
||||
db/[accounts_cache, db_chain],
|
||||
utils/header, precompiles,
|
||||
transaction_tracer, utils
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
# Nimbus
|
||||
# Copyright (c) 2018 Status Research & Development GmbH
|
||||
# Licensed under either of
|
||||
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
|
||||
# http://www.apache.org/licenses/LICENSE-2.0)
|
||||
# * MIT license ([LICENSE-MIT](LICENSE-MIT) or
|
||||
# http://opensource.org/licenses/MIT)
|
||||
# at your option. This file may not be copied, modified, or distributed except
|
||||
# according to those terms.
|
||||
|
||||
# Should be considered part of another header file (e.h. vm_misc)
|
||||
import
|
||||
./vm/nvm_message as vmm
|
||||
|
||||
export
|
||||
vmm.isCreate
|
||||
|
||||
# End
|
|
@ -8,8 +8,8 @@ import
|
|||
options, json, os, eth/trie/[db, hexary],
|
||||
../nimbus/[vm_state, vm_types, transaction, utils],
|
||||
../nimbus/db/[db_chain, accounts_cache],
|
||||
../nimbus/[vm_computation, vm_state_transactions, vm_forks],
|
||||
../nimbus/vm/[message, memory]
|
||||
../nimbus/[vm_computation, vm_state_transactions, vm_forks, vm_message],
|
||||
../nimbus/vm/memory
|
||||
|
||||
export opcode_values, byteutils
|
||||
{.experimental: "dynamicBindSym".}
|
||||
|
|
Loading…
Reference in New Issue