Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
fix more pylint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
harisang committed Nov 23, 2024
1 parent 9b2cea7 commit 986f286
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sync/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@ def find_block_with_timestamp(node, time_stamp) -> int:
block_time_stamp = block.timestamp
if block_time_stamp >= time_stamp:
return block.number
# fallback if correct block is not found
return mid_block_number + 200


def compute_block_and_month_range(node: Web3):
def compute_block_and_month_range(node: Web3): # pylint: disable=too-many-locals
"""
This determines the block range and the relevant months
for which we will compute and upload data on Dune.
Expand Down

0 comments on commit 986f286

Please sign in to comment.