Skip to content

Commit

Permalink
fix: update logs (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
amateima authored Nov 21, 2024
1 parent cc06346 commit 37439d4
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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,
Expand All @@ -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(
Expand Down

0 comments on commit 37439d4

Please sign in to comment.