diff --git a/src/dexorder/event_handler.py b/src/dexorder/event_handler.py index 8363f0e..77c2b27 100644 --- a/src/dexorder/event_handler.py +++ b/src/dexorder/event_handler.py @@ -114,7 +114,7 @@ async def handle_order_cancel_all(event: EventData): async def handle_transfer(transfer: EventData): # todo handle native transfers incl gas for token transfers - log.debug(f'Transfer {transfer}') + # log.debug(f'Transfer {transfer}') from_address = transfer['args']['from'] to_address = transfer['args']['to'] amount = int(transfer['args']['value']) diff --git a/src/dexorder/progressor.py b/src/dexorder/progressor.py index 31ffad6..8170366 100644 --- a/src/dexorder/progressor.py +++ b/src/dexorder/progressor.py @@ -57,6 +57,7 @@ class BlockProgressor(metaclass=ABCMeta): pass async def get_backfill_batches(self, from_height, to_height, w3=None): + log.debug(f'querying backfill {from_height} through {to_height}') if w3 is None: w3 = current_w3.get() batches = [] @@ -67,7 +68,6 @@ class BlockProgressor(metaclass=ABCMeta): lf = dict(log_filter) lf['fromBlock'] = from_height lf['toBlock'] = to_height - log.debug(f'querying backfill {from_height} through {to_height}') get_logs = w3.eth.get_logs(lf) if not config.parallel_logevent_queries: get_logs = await get_logs