From 78e77b4f60775e6d02af694123dc222078dc80f3 Mon Sep 17 00:00:00 2001 From: Samyak Jain <34437877+KaymasJain@users.noreply.github.com> Date: Fri, 16 Apr 2021 17:00:19 +0530 Subject: [PATCH] added a TODO on migrate position --- contracts/receivers/aave-v2-receiver/main.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contracts/receivers/aave-v2-receiver/main.sol b/contracts/receivers/aave-v2-receiver/main.sol index a672253..c28f021 100644 --- a/contracts/receivers/aave-v2-receiver/main.sol +++ b/contracts/receivers/aave-v2-receiver/main.sol @@ -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);