Skip to content

Commit

Permalink
fix: delete unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Aug 5, 2024
1 parent 60bb07d commit 5128504
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions ape_foundry/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,16 +670,6 @@ def set_storage(self, address: AddressType, slot: int, value: HexBytes):
],
)

def _eth_call(self, arguments: list, raise_on_revert: bool = True) -> HexBytes:
# Overridden to handle unique Foundry pickiness.
txn_dict = copy(arguments[0])
if isinstance(txn_dict.get("type"), int):
txn_dict["type"] = HexBytes(txn_dict["type"]).hex()

txn_dict.pop("chainId", None)
arguments[0] = txn_dict
return super()._eth_call(arguments, raise_on_revert=raise_on_revert)


class FoundryForkProvider(FoundryProvider):
"""
Expand Down

0 comments on commit 5128504

Please sign in to comment.