Skip to content

Commit

Permalink
Reduce diff
Browse files Browse the repository at this point in the history
  • Loading branch information
pxrl committed Feb 6, 2024
1 parent 5ef517a commit fc60e3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/FillUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ export async function getFillDataForSlowFillFromPreviousRootBundle(
lastMatchingFillInSameBundle: FillWithBlock;
rootBundleEndBlockContainingFirstFill: number;
}> {
assert(sdkUtils.isV2Fill(fill));

// Can use spokeClient.queryFillsForDeposit(_fill, spokePoolClient.eventSearchConfig.fromBlock)
// if allValidFills doesn't contain the deposit's first fill to efficiently find the first fill for a deposit.
// Note that allValidFills should only include fills later than than eventSearchConfig.fromBlock.
Expand Down

0 comments on commit fc60e3f

Please sign in to comment.