Skip to content

Commit

Permalink
fix: revert allow failure to camel case
Browse files Browse the repository at this point in the history
  • Loading branch information
banteg committed Apr 2, 2024
1 parent 997dd36 commit ad49b70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ape_ethereum/multicall/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def add(
self,
call: ContractMethodHandler,
*args,
allow_failure: bool = True,
allowFailure: bool = True,
value: int = 0,
) -> "BaseMulticall":
"""
Expand All @@ -107,7 +107,7 @@ def add(
call (:class:`~ape_ethereum.multicall.handlers.ContractMethodHandler`):
The method to call.
*args: The arguments to invoke the method with.
allow_failure (bool): Whether the call is allowed to fail.
allowFailure (bool): Whether the call is allowed to fail.
value (int): The amount of ether to forward with the call.
Returns:
Expand All @@ -121,7 +121,7 @@ def add(
self.calls.append(
{
"target": call.contract.address,
"allowFailure": allow_failure,
"allowFailure": allowFailure,
"value": value,
"callData": call.encode_input(*args),
}
Expand Down

0 comments on commit ad49b70

Please sign in to comment.