Skip to content

Commit

Permalink
fix: increase slippage for large trade tests (#928)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsy1218 authored Dec 4, 2024
1 parent bcf2a08 commit fdf8d53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/mocha/e2e/quote.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ describe('quote', function () {
: await getAmount(1, type, 'USDC', 'ETH', '100'),
type,
recipient: alice.address,
slippageTolerance: SLIPPAGE,
slippageTolerance: LARGE_SLIPPAGE,
deadline: '360',
algorithm,
enableUniversalRouter: true,
Expand Down Expand Up @@ -701,7 +701,7 @@ describe('quote', function () {
amount,
type,
recipient: alice.address,
slippageTolerance: SLIPPAGE,
slippageTolerance: LARGE_SLIPPAGE,
deadline: '360',
algorithm,
permitSignature: signature,
Expand Down Expand Up @@ -1733,7 +1733,7 @@ describe('quote', function () {
: await getAmount(1, type, 'USDC', 'ETH', '100'),
type,
recipient: alice.address,
slippageTolerance: SLIPPAGE,
slippageTolerance: LARGE_SLIPPAGE,
deadline: '360',
algorithm,
simulateFromAddress: '0xf584f8728b874a6a5c7a8d4d387c9aae9172d621',
Expand Down

0 comments on commit fdf8d53

Please sign in to comment.