mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-11 21:04:11 +00:00
renamed states*.nim => v2states*.nim
why: these files provide part of the externally accessible interface provided by vm_state*.nim. so the new filename indicates that the source code belongs to vm2 (rather than vm).
This commit is contained in:
parent
7b6767c4a3
commit
f159e67bba
@ -15,7 +15,7 @@ import
|
||||
sets, eth/[common, keys],
|
||||
../constants, ../errors,
|
||||
./interpreter/[v2opcode_values, gas_meter, gas_costs, v2forks],
|
||||
./code_stream, ./memory, ./message, ./stack, ./v2types, ./state,
|
||||
./code_stream, ./memory, ./message, ./stack, ./v2types, ./v2state,
|
||||
../db/[accounts_cache, db_chain],
|
||||
../utils/header, ./precompiles,
|
||||
./transaction_tracer, ../utils
|
||||
|
@ -10,7 +10,7 @@ import
|
||||
chronicles, stint, nimcrypto, stew/ranges/ptr_arith, eth/common,
|
||||
./utils/[macros_procs_opcodes, utils_numeric],
|
||||
./gas_meter, ./gas_costs, ./v2opcode_values, ./v2forks,
|
||||
../memory, ../stack, ../code_stream, ../computation, ../state, ../v2types,
|
||||
../memory, ../stack, ../code_stream, ../computation, ../v2state, ../v2types,
|
||||
../../errors, ../../constants,
|
||||
../../db/[db_chain, accounts_cache]
|
||||
|
||||
|
@ -14,7 +14,7 @@ import
|
||||
options, sets,
|
||||
eth/common, chronicles, ../db/accounts_cache,
|
||||
../transaction,
|
||||
./computation, ./interpreter, ./state, ./v2types
|
||||
./computation, ./interpreter, ./v2state, ./v2types
|
||||
|
||||
proc setupComputation*(vmState: BaseVMState, tx: Transaction, sender: EthAddress, fork: Fork) : Computation =
|
||||
var gas = tx.gasLimit - tx.intrinsicGas(fork)
|
@ -13,7 +13,7 @@ when defined(evmc_enabled) or not defined(vm2_enabled):
|
||||
./vm/state as vms
|
||||
else:
|
||||
import
|
||||
./vm2/state as vms
|
||||
./vm2/v2state as vms
|
||||
|
||||
export
|
||||
vms.`$`,
|
||||
|
@ -13,7 +13,7 @@ when defined(evmc_enabled) or not defined(vm2_enabled):
|
||||
vm/state_transactions as vmx
|
||||
else:
|
||||
import
|
||||
vm2/state_transactions as vmx
|
||||
vm2/v2state_transactions as vmx
|
||||
|
||||
export
|
||||
vmx.execComputation,
|
||||
|
Loading…
x
Reference in New Issue
Block a user