EVM: Remove most unused imports of `vm_*` files
Signed-off-by: Jamie Lokier <jamie@shareable.org>
This commit is contained in:
parent
beb750b8df
commit
5e718bcbe2
|
@ -14,9 +14,8 @@ import
|
|||
graphql, graphql/graphql as context,
|
||||
graphql/common/types, graphql/httpserver,
|
||||
graphql/instruments/query_complexity,
|
||||
../db/[db_chain, state_db], ../errors, ../utils,
|
||||
../db/[db_chain, state_db], ../utils,
|
||||
../transaction, ../rpc/rpc_utils, ../vm_state, ../config,
|
||||
../vm_computation, ../vm_state_transactions,
|
||||
../transaction/call_evm
|
||||
|
||||
from eth/p2p import EthereumNode
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import ../db/db_chain, eth/common, chronicles, ../vm_state, ../vm_types,
|
||||
../vm_computation, ../vm_message, ../vm_types2, stint, nimcrypto,
|
||||
import ../db/db_chain, eth/common, chronicles, ../vm_state,
|
||||
stint, nimcrypto,
|
||||
../utils, eth/trie/db, ./executor, ../chain_config, ../genesis, ../utils,
|
||||
stew/endians2, ./validate, ./validate/epoch_hash_cache
|
||||
|
||||
|
|
|
@ -12,10 +12,9 @@ import
|
|||
json_rpc/rpcserver, hexstrings, stint, stew/byteutils,
|
||||
eth/[common, keys, rlp, p2p], nimcrypto,
|
||||
eth/p2p/rlpx_protocols/eth_protocol,
|
||||
../transaction, ../config, ../vm_state, ../constants, ../vm_types,
|
||||
../transaction, ../config, ../vm_state, ../constants,
|
||||
../utils, ../db/[db_chain, state_db],
|
||||
rpc_types, rpc_utils, ../vm_message, ../vm_computation,
|
||||
../vm_types2,
|
||||
rpc_types, rpc_utils,
|
||||
../transaction/call_evm
|
||||
|
||||
#[
|
||||
|
|
|
@ -8,10 +8,9 @@
|
|||
# those terms.
|
||||
|
||||
import hexstrings, eth/[common, rlp, keys, trie/db], stew/byteutils, nimcrypto,
|
||||
../db/[db_chain, accounts_cache], strutils, algorithm, options, times, json,
|
||||
../db/db_chain, strutils, algorithm, options, times, json,
|
||||
../constants, stint, hexstrings, rpc_types, ../chain_config,
|
||||
../vm_state_transactions, ../vm_state, ../vm_types, ../vm_types2,
|
||||
../vm_computation, ../p2p/executor, ../utils, ../transaction,
|
||||
../utils, ../transaction,
|
||||
../transaction/call_evm
|
||||
|
||||
import eth/common/transaction as common_transaction
|
||||
|
|
|
@ -3,7 +3,7 @@ import
|
|||
constants, vm_state, vm_types, transaction, p2p/executor,
|
||||
eth/trie/db, nimcrypto, strutils,
|
||||
chronicles, rpc/hexstrings, launcher,
|
||||
./vm_types2, ./config
|
||||
./config
|
||||
|
||||
when defined(geth):
|
||||
import db/geth_db
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
|
||||
import
|
||||
eth/common/eth_types, stint, options, stew/byteutils,
|
||||
".."/[vm_types, vm_types2, vm_state, vm_computation, utils],
|
||||
".."/[db/db_chain, config, vm_state_transactions, rpc/hexstrings],
|
||||
".."/[db/accounts_cache, transaction, vm_precompiles, vm_gas_costs], eth/trie/db,
|
||||
".."/[vm_types, vm_types2, vm_state, utils],
|
||||
".."/[db/db_chain, config, rpc/hexstrings, utils],
|
||||
".."/[db/accounts_cache, utils, transaction, vm_gas_costs], eth/trie/db,
|
||||
".."/vm_internals,
|
||||
./call_common
|
||||
|
||||
|
|
|
@ -1,14 +1,12 @@
|
|||
import
|
||||
macrocache, strutils, unittest2,
|
||||
stew/byteutils, chronicles, eth/common,
|
||||
stew/shims/macros, ../nimbus/config
|
||||
stew/shims/macros
|
||||
|
||||
import
|
||||
options, json, os, eth/trie/[db, hexary],
|
||||
../nimbus/[transaction, utils],
|
||||
../nimbus/db/[db_chain, accounts_cache],
|
||||
../nimbus/[vm_state_transactions, vm_types2,
|
||||
vm_message, vm_internals, vm_state, vm_types],
|
||||
../nimbus/[vm_types2, vm_internals],
|
||||
../nimbus/transaction/call_evm
|
||||
|
||||
export vm_types2, byteutils
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
import
|
||||
unittest2, ../nimbus/vm_precompiles, json, stew/byteutils, test_helpers, os, tables,
|
||||
strformat, strutils, eth/trie/db, eth/common, ../nimbus/db/db_chain, ../nimbus/constants,
|
||||
../nimbus/[vm_computation, vm_types, vm_state, vm_types2], macros,
|
||||
../nimbus/[vm_computation, vm_state, vm_types2], macros,
|
||||
test_allowed_to_fail,
|
||||
../nimbus/transaction/call_evm, options
|
||||
|
||||
|
|
Loading…
Reference in New Issue