Skip to content

Commit

Permalink
chore: Add debug statement to 'submit-queue' handle order
Browse files Browse the repository at this point in the history
  • Loading branch information
jsanmigimeno committed Mar 12, 2024
1 parent 9e1ab93 commit 6bd7d22
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/submitter/queues/submit-queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ export class SubmitQueue extends ProcessingQueue<
order: SubmitOrder,
retryCount: number,
): Promise<HandleOrderResult<PendingTransaction<SubmitOrder>> | null> {
this.logger.debug(
{ messageIdentifier: order.messageIdentifier },
`Handling submit order`,
);

// Simulate the packet submission as a static call. Skip if it's the first submission try,
// as in that case the packet 'evaluation' will have been executed shortly before.
const contract = this.incentivesContracts.get(order.amb)!; //TODO handle undefined case
Expand Down

0 comments on commit 6bd7d22

Please sign in to comment.