diff --git a/src/ape_ethereum/provider.py b/src/ape_ethereum/provider.py index f2394e1366..48241ee9f4 100644 --- a/src/ape_ethereum/provider.py +++ b/src/ape_ethereum/provider.py @@ -458,6 +458,7 @@ def _eth_call(self, arguments: list) -> HexBytes: txn_dict.pop("chainId", None) arguments[0] = txn_dict + try: result = self.make_request("eth_call", arguments) except Exception as err: diff --git a/src/ape_test/__init__.py b/src/ape_test/__init__.py index e01b4a172e..ac7e632329 100644 --- a/src/ape_test/__init__.py +++ b/src/ape_test/__init__.py @@ -23,6 +23,7 @@ class GasConfig(PluginConfig): Configuration related to test gas reports. """ + exclude: list[GasExclusion] = [] """ Contract methods patterns to skip. Specify ``contract_name:`` and not ``method_name:`` to skip all methods in the contract. Only specify @@ -30,12 +31,11 @@ class GasConfig(PluginConfig): both to skip methods in a certain contracts. Entries use glob-rules; use ``prefix_*`` to skip all items with a certain prefix. """ - exclude: list[GasExclusion] = [] + reports: list[str] = [] """ Report-types to use. Currently, only supports `terminal`. """ - reports: list[str] = [] @field_validator("reports", mode="before") @classmethod