Open Dirt-Nasty opened 3 years ago
we can probably catch **kwargs and update the params dict with them before contacting the node, wdyt?
Are there any other worthwhile args to capture? If it's just from
, perhaps it'd just be more straightforward to add it to the class members as tx_from=
or origin=
?
Would it be possible to implement a way to pass additional field into the call function. Right now you are passing {to: address, data: data} into the call but there are some use cases for additional arguments. For example a few of the contracts I interact need a from argument as well.
Example:
self.w3.eth.call({'to': self.target, 'data': calldata, 'from': address})