Skip to content

Commit

Permalink
Log likely reorgs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ktl-XV committed Jun 28, 2023
1 parent d297ac2 commit 3c62a1f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/scripts/utils/event_abi_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ export class PullAndSaveEventsByTopic {
return [];
}

if (reorgLikely) {
logger.info(`A reorg probably happened, rescraping blocks ${(startBlockNumber, endBlockNumber)}`);
}

return (
await this._getParseSaveEventsByTopic(
connection,
Expand Down

0 comments on commit 3c62a1f

Please sign in to comment.