From 37439d4a705c8f0a7099b91da248249825564d1a Mon Sep 17 00:00:00 2001 From: amateima <89395931+amateima@users.noreply.github.com> Date: Thu, 21 Nov 2024 21:14:54 +0200 Subject: [PATCH] fix: update logs (#110) --- .../data-indexing/service/SpokePoolIndexerDataHandler.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/indexer/src/data-indexing/service/SpokePoolIndexerDataHandler.ts b/packages/indexer/src/data-indexing/service/SpokePoolIndexerDataHandler.ts index d1399e2..380a04d 100644 --- a/packages/indexer/src/data-indexing/service/SpokePoolIndexerDataHandler.ts +++ b/packages/indexer/src/data-indexing/service/SpokePoolIndexerDataHandler.ts @@ -75,10 +75,9 @@ export class SpokePoolIndexerDataHandler implements IndexerDataHandler { ) { this.logger.info({ at: "SpokePoolIndexerDataHandler::processBlockRange", - message: "Processing block range", + message: `Processing block range ${this.getDataIdentifier()}`, blockRange, lastFinalisedBlock, - identifier: this.getDataIdentifier(), }); if (!this.isInitialized) { @@ -94,7 +93,7 @@ export class SpokePoolIndexerDataHandler implements IndexerDataHandler { }, 0); this.logger.info({ at: "SpokePoolIndexerDataHandler::processBlockRange", - message: "Found events", + message: `Found events for ${this.getDataIdentifier()}`, events: { v3FundsDepositedEvents: events.v3FundsDepositedEvents.length, filledV3RelayEvents: events.filledV3RelayEvents.length, @@ -106,7 +105,6 @@ export class SpokePoolIndexerDataHandler implements IndexerDataHandler { tokensBridgedEvents: events.tokensBridgedEvents.length, }, blockRange, - identifier: this.getDataIdentifier(), }); const storedEvents = await this.storeEvents(events, lastFinalisedBlock); const newInsertedDeposits = indexerDatabaseUtils.filterSaveQueryResults(