Jamie Lokier 5fb3c51e5e Transaction: Skip balance & nonce updates option in runComputation
Add another flag to disable a processing step when a call doesn't come from
a real transaction:

- `noTransfer`: Don't update balances, nonces, code.

This is to support VM fixtures tests which require account balances and nonces
to be unchanged when running the account's code.

These tests call `c.executeOpcodes()`, an internal function of the EVM, instead
of the usual `c.execComputation()`.  It goes direct to the bytecode dispatcher,
skipping parts of `Computation` that are normally called.

But we can't keep calling `c.executeOpcodes()` and have a single entry point to
the VM, let alone an EVMC entry point.

`noTransfer` provides similar enough behaviour to calling `c.executeOpcodes()`
that these tests can use the new single entry point like everything else.

Signed-off-by: Jamie Lokier <jamie@shareable.org>
2021-06-01 18:40:41 +03:00
..
2021-05-19 16:35:13 +07: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
2019-01-28 12:38:23 +02:00
2018-05-28 13:22:28 +03: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
2021-05-16 19:54:48 +07:00
2019-11-13 21:49:39 +07:00