Skip to content

Commit 2152be4

Browse files
authored
fix: fix lint issues (#631)
1 parent 3dd3868 commit 2152be4

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

packages/flash-loans/src/aave/debtSwap.integration.test.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,7 @@ describe('AaveFlashLoanIntegration.debtSwap', () => {
5050
const buyAmount = 11000000000000000n // 0.011 GNO
5151
const validTo = Math.ceil(Date.now() / 1000) + 10 * 60 // 10m
5252
const flashLoanFeePercent = 0.05 // 0.05%
53-
const slippageBps = 0 // 0.08%
54-
const partnerFee = {
55-
volumeBps: 10, // 0.1%
56-
recipient: owner, // TODO: set a correct partnerFee recipient
57-
}
53+
5854
// Set true if you sell native token
5955
const isEthFlow = false
6056
const collateralPermit = undefined

packages/flash-loans/src/aave/repayCollateral.integration.test.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,7 @@ describe('AaveFlashLoanIntegration.repayCollateral', () => {
5050
const buyAmount = 11000000000000000n // 0.011 GNO
5151
const validTo = Math.ceil(Date.now() / 1000) + 10 * 60 // 10m
5252
const flashLoanFeePercent = 0.05 // 0.05%
53-
const slippageBps = 8 // 0.08%
54-
const partnerFee = {
55-
volumeBps: 10, // 0.1%
56-
recipient: owner, // TODO: set a correct partnerFee recipient
57-
}
53+
5854
// Set true if you sell native token
5955
const isEthFlow = false
6056
const collateralPermit = undefined
@@ -76,8 +72,6 @@ describe('AaveFlashLoanIntegration.repayCollateral', () => {
7672
// TODO: BUY orders do not work if you add slippage and/or partnerFee
7773
slippageBps: 0,
7874
partnerFee: undefined,
79-
// slippageBps,
80-
// partnerFee,
8175
}
8276

8377
const orderToSign = getOrderToSign(

0 commit comments

Comments
 (0)