RPC: Don't export rpcSetupComputation
The point of the `call_vm` exercise is to allow `Computation` to become an internal type of the EVM, not used as API by the rest of the program. So `rpcSetupComputation` should be private. It was left exported by mistake. Signed-off-by: Jamie Lokier <jamie@shareable.org>
This commit is contained in:
parent
c7e1cb61ee
commit
cc7307186d
|
@ -23,7 +23,7 @@ type
|
|||
data*: seq[byte]
|
||||
contractCreation*: bool
|
||||
|
||||
proc rpcSetupComputation*(vmState: BaseVMState, call: RpcCallData,
|
||||
proc rpcSetupComputation(vmState: BaseVMState, call: RpcCallData,
|
||||
fork: Fork, gasLimit: GasInt): Computation =
|
||||
vmState.setupTxContext(
|
||||
origin = call.source,
|
||||
|
|
Loading…
Reference in New Issue