mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-10 04:15:54 +00:00
ce0c13c4ca
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>