Skip to content

Commit

Permalink
improve(relayer): Stop automatically querying for v2 events (#1218)
Browse files Browse the repository at this point in the history
These events are no longer relevant to the production relayer.

Co-authored-by: nicholaspai <[email protected]>
  • Loading branch information
pxrl and nicholaspai authored Feb 21, 2024
1 parent 815e985 commit 0c6c8ab
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/relayer/RelayerClientHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,16 +128,13 @@ export async function updateRelayerClients(clients: RelayerClients, config: Rela
// having a "first run" update and then a "normal" update that considers this. see previous implementation here
// https://github.com/across-protocol/relayer-v2/pull/37/files#r883371256 as a reference.
await updateSpokePoolClients(spokePoolClients, [
"FundsDeposited",
"RequestedSpeedUpDeposit",
"FilledRelay",
"EnabledDepositRoute",
"RelayedRootBundle",
"ExecutedRelayerRefundRoot",
"V3FundsDeposited",
"RequestedSpeedUpV3Deposit",
"RequestedV3SlowFill",
"FilledV3Relay",
"EnabledDepositRoute",
"RelayedRootBundle",
"ExecutedRelayerRefundRoot",
]);

// Update the token client first so that inventory client has latest balances.
Expand Down

0 comments on commit 0c6c8ab

Please sign in to comment.