Skip to content

Commit

Permalink
remove hardhat getBlockNumber RPC during alpha-router integ test beca…
Browse files Browse the repository at this point in the history
…use it might make tests fail with mining difficulty
  • Loading branch information
jsy1218 committed Oct 15, 2024
1 parent 02146c3 commit 2f638a7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3171,6 +3171,8 @@ describe('alpha router integration', () => {
cachedRoutesCacheInvalidationFixRolloutPercentage: 100
});

routeCachingProvider.expired = true;

let swap = await customAlphaRouter.route(
amount,
getQuoteToken(tokenIn, tokenOut, tradeType),
Expand Down

0 comments on commit 2f638a7

Please sign in to comment.