2018-04-06 14:52:10 +00:00
|
|
|
# Nimbus
|
2024-05-22 21:01:19 +00:00
|
|
|
# Copyright (c) 2021-2024 Status Research & Development GmbH
|
2018-04-06 14:52:10 +00:00
|
|
|
# Licensed under either of
|
2021-03-31 08:58:26 +00:00
|
|
|
# * 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.
|
2018-04-06 14:52:10 +00:00
|
|
|
|
2022-09-26 04:56:54 +00:00
|
|
|
import
|
2022-12-02 04:39:12 +00:00
|
|
|
./evm/state_transactions as vmx,
|
|
|
|
./evm/state as vms
|
2022-09-26 04:56:54 +00:00
|
|
|
export
|
|
|
|
vmx.setupTxContext
|
2021-03-31 08:58:26 +00:00
|
|
|
|
|
|
|
export
|
|
|
|
vms.`$`,
|
|
|
|
vms.blockNumber,
|
|
|
|
vms.buildWitness,
|
|
|
|
vms.coinbase,
|
2023-03-17 18:16:24 +00:00
|
|
|
vms.determineFork,
|
2023-09-24 15:25:41 +00:00
|
|
|
vms.difficultyOrPrevRandao,
|
2021-06-30 13:30:39 +00:00
|
|
|
vms.baseFee,
|
2023-02-16 11:40:07 +00:00
|
|
|
vms.forkDeterminationInfoForVMState,
|
2021-03-31 08:58:26 +00:00
|
|
|
vms.generateWitness,
|
|
|
|
vms.`generateWitness=`,
|
|
|
|
vms.getAncestorHash,
|
|
|
|
vms.getAndClearLogEntries,
|
|
|
|
vms.init,
|
|
|
|
vms.mutateStateDB,
|
2022-01-18 16:19:32 +00:00
|
|
|
vms.new,
|
|
|
|
vms.reinit,
|
2021-03-31 08:58:26 +00:00
|
|
|
vms.readOnlyStateDB,
|
|
|
|
vms.status,
|
|
|
|
vms.`status=`,
|
2023-08-02 10:17:40 +00:00
|
|
|
vms.tracingEnabled,
|
|
|
|
vms.captureTxStart,
|
|
|
|
vms.captureTxEnd,
|
|
|
|
vms.captureStart,
|
|
|
|
vms.captureEnd,
|
|
|
|
vms.captureEnter,
|
|
|
|
vms.captureExit,
|
|
|
|
vms.captureOpStart,
|
2023-08-27 06:13:37 +00:00
|
|
|
vms.captureGasCost,
|
2023-08-02 10:17:40 +00:00
|
|
|
vms.captureOpEnd,
|
|
|
|
vms.captureFault,
|
|
|
|
vms.capturePrepare
|
2021-03-31 08:58:26 +00:00
|
|
|
|
|
|
|
# End
|