Skip to content

Commit

Permalink
disable tx_type import for now
Browse files Browse the repository at this point in the history
  • Loading branch information
soad003 committed Dec 27, 2023
1 parent d8b0249 commit 8edfc62
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/graphsenselib/ingest/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -773,11 +773,11 @@ def __init__(self, is_update_transactions_mode: bool = False):
def run(self, ctx, data):
txs = data
receipts, logs = ctx.adapter.export_receipts_and_logs(txs)
hash_to_type = ctx.adapter.export_hash_to_type_mappings(txs)
# hash_to_type = ctx.adapter.export_hash_to_type_mappings(txs)
enriched_txs = ctx.strategy.enrich_transactions(txs, receipts)
enriched_txs = ctx.strategy.enrich_transactions_with_type(
enriched_txs, hash_to_type
)
# enriched_txs = ctx.strategy.enrich_transactions_with_type(
# enriched_txs, hash_to_type
# )
txst = ctx.strategy.transform_transactions(
enriched_txs, ctx.TX_HASH_PREFIX_LEN, ctx.BLOCK_BUCKET_SIZE
)
Expand Down Expand Up @@ -948,7 +948,7 @@ def get_source_adapter(self):
get_connection_from_url(self.http_provider_uri, self.provider_timeout),
grpc_endpoint=self.grpc_provider_uri,
batch_size=self.batch_size,
max_workers=WEB3_QUERY_WORKERS,
max_workers=self.batch_size,
)

def per_blockrange_tasks(self):
Expand Down

0 comments on commit 8edfc62

Please sign in to comment.