nimbus-eth1/nimbus/transaction
Jamie Lokier 74f53c7761
EVMC: Add missing EIP-2929 (Berlin) functions to EVMC host
The update for London (EIP-1559) in 1cdb30df ("bump nim-emvc with evmc revision
8.0.0 to 9.0.0") really bumped EVMC ABI version from 7.5 up to 9.

In other words, it skipped Berlin, going direct from Istanbul to London.

That was accompanied by EVMC changes in 05e9b891 ("EIP-3198: add baseFee op
code in nim-evm"), which added the API changes needed for London.

But the missing Berlin functions weren't added in the move to London.

As a result, our EVMC host became incompatible with Berlin, London, and really
all revisions of the ABI, and if a third party EVM was loaded, it crashed.

This commit adds the missing Berlin host support, and makes our ABI
binary-compatible with real EVMC again.

Signed-off-by: Jamie Lokier <jamie@shareable.org>
2021-08-11 19:47:34 +07:00
..
call_common.nim EIP-3529: Reduce the max gas refunded after a transaction 2021-06-29 07:37:17 +07:00
call_evm.nim preparation for EIP-1559 implementation 2021-06-29 07:33:48 +07:00
evmc_host_glue.nim EVMC: Add missing EIP-2929 (Berlin) functions to EVMC host 2021-08-11 19:47:34 +07:00
evmc_vm_glue.nim EVMC: Binary compatibility on the VM side for calling `execute` 2021-06-08 18:29:39 +01:00
host_call_nested.nim Transaction: EVMC fix, `CREATE2` salt is a 256-bit blob not a number 2021-08-05 10:35:52 +01:00
host_services.nim EVMC: Add missing EIP-2929 (Berlin) functions to EVMC host 2021-08-11 19:47:34 +07:00
host_trace.nim EVMC: Using `{.show.}` trace all calls from the host into the EVM 2021-06-08 18:29:40 +01:00
host_types.nim EVMC: Add missing EIP-2929 (Berlin) functions to EVMC host 2021-08-11 19:47:34 +07:00