mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-13 05:44:40 +00:00
9e365734e6
why: the nvm_ prefix was used inside the vm folder to hide them temporarily from the outside world while writing export wrappers. now all functionality is accessed via vm_*, rather than vm/* imports. todo: at a later stage the import headers of the vm modules need to get fixed to meet style guide standards (as jacek kindly pointed out.)
46 lines
1.0 KiB
Nim
46 lines
1.0 KiB
Nim
# 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.
|
|
|
|
import
|
|
./vm/state as vms
|
|
|
|
export
|
|
vms.`$`,
|
|
vms.blockNumber,
|
|
vms.blockhash,
|
|
vms.buildWitness,
|
|
vms.coinbase,
|
|
vms.consensusEnginePoA,
|
|
vms.difficulty,
|
|
vms.disableTracing,
|
|
vms.enableTracing,
|
|
vms.gasLimit,
|
|
vms.generateWitness,
|
|
vms.`generateWitness=`,
|
|
vms.getAncestorHash,
|
|
vms.getAndClearLogEntries,
|
|
vms.getTracingResult,
|
|
vms.init,
|
|
vms.mutateStateDB,
|
|
vms.newAccessLogs,
|
|
vms.newBaseVMState,
|
|
vms.readOnlyStateDB,
|
|
vms.removeTracedAccounts,
|
|
vms.setupTxContext,
|
|
vms.status,
|
|
vms.`status=`,
|
|
vms.timestamp,
|
|
vms.tracedAccounts,
|
|
vms.tracedAccountsPairs,
|
|
vms.update,
|
|
vms.updateBlockHeader
|
|
|
|
# End
|