mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Updated migration script
This commit is contained in:
parent
c9875f0a8f
commit
dcc60f5966
|
@ -17,8 +17,7 @@ import {
|
||||||
import { tEthereumAddress, AavePools, eContractid } from '../../helpers/types';
|
import { tEthereumAddress, AavePools, eContractid } from '../../helpers/types';
|
||||||
import { waitForTx, filterMapBy } from '../../helpers/misc-utils';
|
import { waitForTx, filterMapBy } from '../../helpers/misc-utils';
|
||||||
import {
|
import {
|
||||||
enableReservesToBorrowByHelper,
|
configureReservesByHelper,
|
||||||
enableReservesAsCollateralByHelper,
|
|
||||||
initReservesByHelper,
|
initReservesByHelper,
|
||||||
} from '../../helpers/init-helpers';
|
} from '../../helpers/init-helpers';
|
||||||
import { getAllTokenAddresses } from '../../helpers/mock-helpers';
|
import { getAllTokenAddresses } from '../../helpers/mock-helpers';
|
||||||
|
@ -61,13 +60,7 @@ task('dev:initialize-lending-pool', 'Initialize lending pool configuration.')
|
||||||
ZERO_ADDRESS,
|
ZERO_ADDRESS,
|
||||||
verify
|
verify
|
||||||
);
|
);
|
||||||
await enableReservesToBorrowByHelper(
|
await configureReservesByHelper(
|
||||||
reservesParams,
|
|
||||||
protoPoolReservesAddresses,
|
|
||||||
testHelpers,
|
|
||||||
admin
|
|
||||||
);
|
|
||||||
await enableReservesAsCollateralByHelper(
|
|
||||||
reservesParams,
|
reservesParams,
|
||||||
protoPoolReservesAddresses,
|
protoPoolReservesAddresses,
|
||||||
testHelpers,
|
testHelpers,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user