mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-27 04:26:07 +00:00
put 'sstoreEvmc' behind 'when evmc_enabled'
This commit is contained in:
parent
f59dec7323
commit
f850c4a37b
@ -444,6 +444,7 @@ template sstoreImpl(c: Computation, slot, newValue: Uint256) =
|
||||
c.vmState.mutateStateDB:
|
||||
db.setStorage(c.msg.contractAddress, slot, newValue)
|
||||
|
||||
when evmc_enabled:
|
||||
template sstoreEvmc(c: Computation, slot, newValue: Uint256) =
|
||||
let
|
||||
status = c.host.setStorage(c.msg.contractAddress, slot, newValue)
|
||||
|
Loading…
x
Reference in New Issue
Block a user