Skip to content

Commit b1acfa3

Browse files
authored
Merge pull request #343 from sfsf9797/set_csv_limit
fix for #306 'field larger than field limit' error
2 parents 372bf2c + 8c9d6a6 commit b1acfa3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ethereumetl/cli/extract_token_transfers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import csv
2626
import json
2727

28+
from ethereumetl.csv_utils import set_max_field_size_limit
2829
from blockchainetl.file_utils import smart_open
2930
from blockchainetl.jobs.exporters.converters.int_to_string_item_converter import IntToStringItemConverter
3031
from ethereumetl.jobs.exporters.token_transfers_item_exporter import token_transfers_item_exporter
@@ -33,6 +34,7 @@
3334

3435
logging_basic_config()
3536

37+
set_max_field_size_limit()
3638

3739
@click.command(context_settings=dict(help_option_names=['-h', '--help']))
3840
@click.option('-l', '--logs', type=str, required=True, help='The CSV file containing receipt logs.')

0 commit comments

Comments
 (0)