EVMC: Disable byte-endian conversion of 256-bit values on EVM side
We'll re-enable endian conversions based on a negotiated run-time option later, but for now let's remove one complication to testing the new EVMC paths, and also gain a little performance. Signed-off-by: Jamie Lokier <jamie@shareable.org>
This commit is contained in:
parent
e8a79e7246
commit
df71c8bec9
|
@ -1,7 +1,7 @@
|
||||||
import eth/common, stint, evmc/evmc
|
import eth/common, stint, evmc/evmc
|
||||||
|
|
||||||
const
|
const
|
||||||
evmc_native* {.booldefine.} = false
|
evmc_native* {.booldefine.} = true
|
||||||
|
|
||||||
func toEvmc*(a: EthAddress): evmc_address {.inline.} =
|
func toEvmc*(a: EthAddress): evmc_address {.inline.} =
|
||||||
cast[evmc_address](a)
|
cast[evmc_address](a)
|
||||||
|
|
Loading…
Reference in New Issue