More flexible RPCs for `run` and `trace`
The .../script/run
and .../script/trace
RPCs allow in their input three new optional fields:
-
"source"
a contract or its alias to specify the source (SENDER) of the transfer simulation, -
"payer"
a contract or its alias to specify the payer (SOURCE), of the transfer simulation, -
"gas"
to give a gas limit for the simulation.
Note that if only one of source
or payer
is present the other field is populated by default with the same value.
These new fields are used by the client with optional arguments to the run script
command:
(--source
, --payer
, -G --gas
).
Edited by Alain Mebsout