Jamie Lokier c6d50a0ef7
Transaction: Unified runner runComputation for all EVM call types
New entry point `runComputation`, for all EVM calls.
(Later the intent is `runComputationAsync`.)

As noted in commit 297d789, there are six entry points calling EVM computation,
with different parameters and expecting different behaviours.  Parameters were
dealt with in `setupComputation`.  Behaviours are unified in `runComputation`,
with options passed via `CallParams`.

This code performs the steps used when validating a transaction.  Options for
non-standard behaviour for RPC, GraphQL and tests to be added as required.

This replaces `setupComputation`, `execComputation` and `executeOpcodes`
(other than its own calls).  As a result `Computation` and other EVM types are
no longer referenced in the main program, and many imports can be dropped.

Signed-off-by: Jamie Lokier <jamie@shareable.org>
2021-05-29 06:53:11 +01: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