nimbus-eth1/nimbus/rpc
Jamie Lokier 7c3b7ab7a8
RPC: Gather EVM-calling functions to one place; rpcSetupComputation
Start gathering the functions that call the EVM into one place,
`transaction/call_evm.nim`.

This is first of a series of changes to gather all ways the EVM is called to
one place.  Duplicate, slightly different setup functions have accumulated over
time, each with some knowledge of EVM internals.  When they are brought
together, these methods will be changed to use a single entry point to the EVM,
allowing the entry point to be refactored, EVMC to be completed, and async
concurrency to be implemented on top.  This also simplifies the callers.

First, a helper function used by RPC and GraphQL to make EVM calls without
permanently modifying the account state.  `setupComputation` ->
`rpcSetupComputation`.

Signed-off-by: Jamie Lokier <jamie@shareable.org>
2021-05-03 10:59:05 +01:00
..
common.nim implement web3, net, and some eth namespace rpc 2020-07-22 23:57:55 +07:00
debug.nim rlp: don't use ranges / experimental features (#495) 2020-04-20 20:12:44 +02:00
hexstrings.nim implement more eth rpc 2020-07-30 14:21:11 +07:00
key_storage.nim Move WhisperKeys to KeyStorage 2020-01-23 12:39:36 +02:00
p2p.nim modify estimateGas in rpc_utils.nim and it can be reusable for graphql too 2021-04-24 10:56:22 +07:00
rpc_types.nim implement more eth rpc 2020-07-30 14:21:11 +07:00
rpc_utils.nim RPC: Gather EVM-calling functions to one place; rpcSetupComputation 2021-05-03 10:59:05 +01:00
whisper.nim fix compilation error following breaking changes in nim-eth 2020-07-20 13:50:05 +07:00