Skip to content

Commit

Permalink
fix: Remove lending word from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmtzinf committed Aug 23, 2021
1 parent be9fa92 commit 16de46a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion helpers/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const ONE_ADDRESS = '0x0000000000000000000000000000000000000001';
// ----------------
export const OPTIMAL_UTILIZATION_RATE = new BigNumber(0.8).times(RAY);
export const EXCESS_UTILIZATION_RATE = new BigNumber(0.2).times(RAY);
export const APPROVAL_AMOUNT_LENDING_POOL = '1000000000000000000000000000';
export const APPROVAL_AMOUNT_POOL = '1000000000000000000000000000';
export const TOKEN_DISTRIBUTOR_PERCENTAGE_BASE = '10000';
export const MOCK_USD_PRICE_IN_WEI = '5848466240000000';
export const USD_ADDRESS = '0x10F7Fc1F91Ba351f9C629c5947AD69bD03C05b96';
Expand Down
4 changes: 2 additions & 2 deletions helpers/init-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,8 @@ export const configureReservesByHelper = async (

export const authorizeWETHGateway = async (
wethGateWay: tEthereumAddress,
lendingPool: tEthereumAddress
pool: tEthereumAddress
) =>
await new WETHGateway__factory(await getFirstSigner())
.attach(wethGateWay)
.authorizeLendingPool(lendingPool);
.authorizePool(pool);
2 changes: 1 addition & 1 deletion test/weth-gateway.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { deploySelfdestructTransferMock } from '../helpers/contracts-deployments

const { expect } = require('chai');

makeSuite('Use native ETH at LendingPool via WETHGateway', (testEnv: TestEnv) => {
makeSuite('Use native ETH at Pool via WETHGateway', (testEnv: TestEnv) => {
const zero = BigNumber.from('0');
const depositSize = utils.parseEther('5');
const daiSize = utils.parseEther('10000');
Expand Down

0 comments on commit 16de46a

Please sign in to comment.