Jamie Lokier ce0c13c4ca
Transaction: Make selfDestruct use Computation to pass tests
When processing self destructs on the EVMC host side, it causes incorrect
`rootHash` results in some tests.  This patch fixes the results.

The cause of these results is known: `Computation` is still doing parts of
contract scope entry/exit which need to be moved to the host.  For now, as a
temporary workaround, update self destructs in `Computation` as it did before.

This makes test pass when using Nimbus EVM.  (It breaks third-party EVMs when
`SELFDESTRUCT` ops are used, although most other tests pass.)

We can't keep this as it prevents complete host/EVM separation, but it's useful
in the current code, and it's fine to develop other functionality on top.

Signed-off-by: Jamie Lokier <jamie@shareable.org>
2021-06-08 18:29:40 +01:00
..
2021-05-26 11:12:52 +01:00
2019-11-13 21:49:39 +07:00
2020-01-20 18:36:58 +02:00
2021-04-28 15:24:14 +03:00
2019-04-17 03:56:28 +02:00
2020-07-21 00:16:59 +07:00
2019-11-13 21:49:39 +07:00