Skip to content

Commit

Permalink
address minor comments
Browse files Browse the repository at this point in the history
  • Loading branch information
harisang committed Dec 12, 2024
1 parent d6ea342 commit d2264c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fetch/orderbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,11 @@ def get_batch_data(
cls, block_range: BlockRange, config: AccountingConfig
) -> DataFrame:
"""
Decomposes the block range into buckets of 10k blocks each,
so as to ensure the batch data query runs fast enough.
Decomposes the block range into buckets of X blocks each,
where X depends on the chain, so as to ensure the
batch data query runs fast enough.
At the end, it concatenates everything into one data frame
"""
load_dotenv()
start = block_range.block_from
end = block_range.block_to
bucket_size = config.data_processing_config.bucket_size
Expand Down

0 comments on commit d2264c1

Please sign in to comment.