Skip to content

Commit

Permalink
chore: add warn logs for reverted ravs
Browse files Browse the repository at this point in the history
Signed-off-by: Gustavo Inacio <[email protected]>
  • Loading branch information
gusinacio authored and aasseman committed Sep 4, 2024
1 parent 33eaa81 commit 999fe0d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/indexer-common/src/allocations/query-fees.ts
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,12 @@ export class AllocationReceiptCollector implements ReceiptCollector {
`

await this.models.receiptAggregateVouchers.sequelize?.query(query)

this.logger.warn(
`Reverted Redeemed RAVs: ${ravsNotRedeemed
.map((rav) => `(${rav.senderAddress},${rav.allocationId})`)
.join(', ')}`,
)
}

// we use blockTimestamp instead of NOW() because we must be older than
Expand Down

0 comments on commit 999fe0d

Please sign in to comment.