nimbus-eth1/nimbus/transaction
Jamie Lokier b734240291
Transaction: Fix bounds error getting data address in empty seq
In the unusual case where log data is zero-length, `data[0].addr` is invalid
and Nim thoughtfully raises `IndexOutOfBounds`, a `Defect` so it's not even
in `CatchableError`.

This is done in the EVMC host services to handle `LOG*` ops, and it made one
of the EVM tests silently fail with no error message.  The fix is obvious.

Signed-off-by: Jamie Lokier <jamie@shareable.org>
2021-06-08 18:29:40 +01:00
..
call_common.nim Transaction: Run all computations via EVMC `execute` 2021-06-08 18:29:39 +01:00
call_evm.nim EVM: Remove `vm_types2` everywhere, use common forks list instead 2021-06-08 15:36:31 +01:00
evmc_host_glue.nim EVMC: Using `{.show.}` trace all calls from the host into the EVM 2021-06-08 18:29:40 +01:00
evmc_vm_glue.nim EVMC: Binary compatibility on the VM side for calling `execute` 2021-06-08 18:29:39 +01:00
host_services.nim Transaction: Fix bounds error getting data address in empty seq 2021-06-08 18:29:40 +01: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 Transaction: Run all computations via EVMC `execute` 2021-06-08 18:29:39 +01:00