diff --git a/nimbus/transaction/host_services.nim b/nimbus/transaction/host_services.nim index 6661b621c..51ae12c23 100644 --- a/nimbus/transaction/host_services.nim +++ b/nimbus/transaction/host_services.nim @@ -223,7 +223,13 @@ proc emitLog(host: TransactionHost, address: HostAddress, copyMem(log.data[0].addr, data, data_size.int) log.address = address - host.logEntries.add(log) + + # TODO: Calling via `computation` is necessary to makes some tests pass. + # Here's one that passes only with this: + # tests/fixtures/eth_tests/GeneralStateTests/stRandom2/randomStatetest583.json + # We can't keep using `computation` though. + host.computation.logEntries.add(log) + #host.logEntries.add(log) when use_evmc_glue: {.pop: inline.}