mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-12 05:14:14 +00:00
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,8 +23,8 @@ type
|
||||
data*: seq[byte]
|
||||
contractCreation*: bool
|
||||
|
||||
proc rpcSetupComputation*(vmState: BaseVMState, call: RpcCallData,
|
||||
fork: Fork, gasLimit: GasInt): Computation =
|
||||
proc rpcSetupComputation(vmState: BaseVMState, call: RpcCallData,
|
||||
fork: Fork, gasLimit: GasInt): Computation =
|
||||
vmState.setupTxContext(
|
||||
origin = call.source,
|
||||
gasPrice = call.gasPrice,
|
||||
|
Loading…
x
Reference in New Issue
Block a user