Apply RFCs from #3444

Co-authored-by: David Núñez <david@nucypher.com>
remotes/origin/v7.4.x v7.2.0
Derek Pierre 2024-02-13 08:04:27 -05:00
parent 1a723a3897
commit 04a2b66672
1 changed files with 2 additions and 2 deletions

View File

@ -363,7 +363,7 @@ class EventScanner:
def _fetch_events_for_contract(
web3, contract, events, from_block: int, to_block: int
) -> Iterable:
"""Get events using eth_get_logs API.
"""Get events using eth_getLogs API.
This method is detached from any contract instance.
@ -398,7 +398,7 @@ def _fetch_events_for_contract(
event_filter_params["toBlock"] = to_block
logger.debug(
f"Querying eth_get_logs with the following parameters: {event_filter_params}"
f"Querying eth_getLogs with the following parameters: {event_filter_params}"
)
# Call JSON-RPC API on your Ethereum node.