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:
Jamie Lokier 2021-05-20 01:20:43 +01:00
parent e8a79e7246
commit df71c8bec9
No known key found for this signature in database
GPG Key ID: CBC25C68435C30A2
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
import eth/common, stint, evmc/evmc
const
evmc_native* {.booldefine.} = false
evmc_native* {.booldefine.} = true
func toEvmc*(a: EthAddress): evmc_address {.inline.} =
cast[evmc_address](a)