Skip to content

Commit

Permalink
chore: Remove redundant log message
Browse files Browse the repository at this point in the history
  • Loading branch information
pxrl committed Jan 2, 2024
1 parent 2dbe852 commit 4009a76
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/clients/SpokePoolClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -672,20 +672,13 @@ export class SpokePoolClient extends BaseAbstractClient {
}
});
this.earlyDeposits = earlyDeposits;

const dataForQuoteTime = await this.batchComputeRealizedLpFeePct(depositEvents);
this.logger.debug({
at: "SpokePoolClient",
message: `Computed ${dataForQuoteTime.length} realizedLpFees on ${this.chainId}!`,
});

// Now add any newly fetched events from RPC.
if (depositEvents.length > 0) {
this.log("debug", `Using ${depositEvents.length} newly queried deposit events for chain ${this.chainId}`, {
earliestEvent: depositEvents[0].blockNumber,
});
}

const dataForQuoteTime = await this.batchComputeRealizedLpFeePct(depositEvents);
for (const [index, event] of Array.from(depositEvents.entries())) {
const rawDeposit = spreadEventWithBlockNumber(event) as DepositWithBlock;

Expand Down

0 comments on commit 4009a76

Please sign in to comment.