Skip to content

Commit

Permalink
in alpha-router integ tests we should always enable new set cached ro…
Browse files Browse the repository at this point in the history
…utes
  • Loading branch information
jsy1218 committed Oct 17, 2024
1 parent e093753 commit 039a20b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,7 @@ describe('alpha router integration', () => {
v3PoolProvider,
v4PoolProvider,
simulator: ethEstimateGasSimulator,
cachedRoutesCacheInvalidationFixRolloutPercentage: 100,
});

feeOnTransferAlphaRouter = new AlphaRouter({
Expand All @@ -786,6 +787,7 @@ describe('alpha router integration', () => {
v2PoolProvider: cachingV2PoolProvider,
v3PoolProvider,
simulator,
cachedRoutesCacheInvalidationFixRolloutPercentage: 100,
});
});

Expand Down Expand Up @@ -3120,6 +3122,7 @@ describe('alpha router integration', () => {
provider: hardhat.providers[0]!,
multicall2Provider,
gasPriceProvider,
cachedRoutesCacheInvalidationFixRolloutPercentage: 100,
});

const swap = await customAlphaRouter.route(
Expand Down Expand Up @@ -3679,6 +3682,7 @@ describe('quote for other networks', () => {
[3000, 60, '0x0000000000000000000000000000000000000020'],
]
),
cachedRoutesCacheInvalidationFixRolloutPercentage: 100,
});
} else {
alphaRouter = new AlphaRouter({
Expand All @@ -3693,6 +3697,7 @@ describe('quote for other networks', () => {
[3000, 60, '0x0000000000000000000000000000000000000020'],
]
),
cachedRoutesCacheInvalidationFixRolloutPercentage: 100,
});
}
});
Expand Down

0 comments on commit 039a20b

Please sign in to comment.