Call
One member of an aggregate3 batch.
allow_failure defaults to True, which is the reason this module
exists: a reverting call comes back as a declared
CallResult failure instead of voiding its four neighbours.
Set it False only when a revert should void the whole batch, which
the node reports as a JSON-RPC error for the entire eth_call.
Fields
targetstrdatabytesallow_failurebooldefault True__init__
__init__(self, target: str, data: bytes, allow_failure: bool = True) -> None
Parameters
targetrequired, strnone
datarequired, bytesnone
allow_failureoptional, bool, default Truenone