Skip to content

Commit

Permalink
Merge branch 'feat/08' into refactor/py38drop
Browse files Browse the repository at this point in the history
  • Loading branch information
NotPeopling2day committed Apr 20, 2024
2 parents 175b031 + 0881b5e commit 8c8881f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/ape_ethereum/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions src/ape_test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ 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
``method_name:`` to skip all methods across all contracts. Specify
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
Expand Down

0 comments on commit 8c8881f

Please sign in to comment.