From 016639d68297fc83c62be6dee39056983b5e81a4 Mon Sep 17 00:00:00 2001 From: Alexander Sysoev Date: Thu, 21 Nov 2024 23:49:47 +0300 Subject: [PATCH] Change event scanner log message (#129) --- sw_utils/event_scanner.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sw_utils/event_scanner.py b/sw_utils/event_scanner.py index c48d2c6..24b2e13 100644 --- a/sw_utils/event_scanner.py +++ b/sw_utils/event_scanner.py @@ -75,10 +75,9 @@ async def process_new_events(self, to_block: BlockNumber) -> None: if new_events: logger.info( - 'Scanned %s event: count=%d, block=%d/%d/%d', - self.processor.contract_event, + 'Scanned %d %s events, block %d of %d', len(new_events), - current_from_block, + self.processor.contract_event, current_to_block, to_block, )