mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-24 19:19:21 +00:00
evmc_enabled compile time flags
This commit is contained in:
parent
295d2c180b
commit
64f0e59487
@ -18,7 +18,7 @@ logScope:
|
||||
topics = "vm computation"
|
||||
|
||||
const
|
||||
evmc_enabled* {.booldefine.} = true
|
||||
evmc_enabled* = defined(evmc_enabled)
|
||||
|
||||
template getCoinbase*(c: Computation): EthAddress =
|
||||
when evmc_enabled:
|
||||
|
@ -59,7 +59,8 @@ type
|
||||
Computation* = ref object
|
||||
# The execution computation
|
||||
vmState*: BaseVMState
|
||||
host*: HostContext
|
||||
when defined(evmc_enabled):
|
||||
host*: HostContext
|
||||
msg*: Message
|
||||
memory*: Memory
|
||||
stack*: Stack
|
||||
|
Loading…
x
Reference in New Issue
Block a user