Skip to content

Commit

Permalink
Merge pull request blockchain-etl#399 from m0ssc0de/develop
Browse files Browse the repository at this point in the history
set max field size limit for export token transfers
  • Loading branch information
medvedev1088 authored Oct 14, 2022
2 parents 0f6234a + 2c91a31 commit 688ecdf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ethereumetl/cli/export_token_transfers.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

from ethereumetl.web3_utils import build_web3

from ethereumetl.csv_utils import set_max_field_size_limit
from ethereumetl.jobs.export_token_transfers_job import ExportTokenTransfersJob
from ethereumetl.jobs.exporters.token_transfers_item_exporter import token_transfers_item_exporter
from blockchainetl.logging_utils import logging_basic_config
Expand All @@ -45,6 +46,7 @@
@click.option('-t', '--tokens', default=None, show_default=True, type=str, multiple=True, help='The list of token addresses to filter by.')
def export_token_transfers(start_block, end_block, batch_size, output, max_workers, provider_uri, tokens):
"""Exports ERC20/ERC721 transfers."""
set_max_field_size_limit()
job = ExportTokenTransfersJob(
start_block=start_block,
end_block=end_block,
Expand Down

0 comments on commit 688ecdf

Please sign in to comment.