Skip to content

Commit

Permalink
chore: revise
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Dec 11, 2024
1 parent 47816ae commit 7250730
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ape/contracts/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ def __len__(self):

def __call__(self, *args: Any, **kwargs: Any) -> MockContractLog:
"""
Create a mock-instance of a log using this event ABI and contract-instance.
Create a mock-instance of a log using this event ABI and the contract address.
Args:
*args: Position arguments for the event.
Expand Down Expand Up @@ -807,6 +807,8 @@ def poll_logs(
)


# TODO: In 0.9, just make `_events_` or ContractEvent possibly handle multiple ABIs
# much like the transactions handlers do. OR at least take the opportunty to refactor.
class ContractEventWrapper:
"""
A wrapper used when multiple events have the same so that
Expand Down

0 comments on commit 7250730

Please sign in to comment.