added a TODO on migrate position

This commit is contained in:
Samyak Jain 2021-04-16 17:00:19 +05:30
parent 63680f251a
commit 78e77b4f60

View File

@ -99,6 +99,8 @@ contract AaveV2Migrator is MigrateResolver {
address[] memory supplyTokens = data.supplyTokens;
address[] memory borrowTokens = data.borrowTokens;
// TODO: before migrating make sure the new DSA is v2 DSA on L1.
AaveInterface aave = AaveInterface(aaveProvider.getLendingPool());
transferAtokens(aave, dsa, supplyTokens, supplyAmts);