diff --git a/contracts/receivers/aave-v2-receiver/main.sol b/contracts/receivers/aave-v2-receiver/main.sol index 17bf932..dd0ffac 100644 --- a/contracts/receivers/aave-v2-receiver/main.sol +++ b/contracts/receivers/aave-v2-receiver/main.sol @@ -87,8 +87,6 @@ contract MigrateResolver is Helpers, Events { contract AaveV2Migrator is MigrateResolver { using SafeERC20 for IERC20; - uint private lastStateId; - function _migratePosition(AaveData memory _data) internal { AaveData memory data = remapTokens(_data); // converting L1 token addresses to L2 addresses diff --git a/contracts/senders/aave-v2-migrator/helpers.sol b/contracts/senders/aave-v2-migrator/helpers.sol index 9090f3f..183979a 100644 --- a/contracts/senders/aave-v2-migrator/helpers.sol +++ b/contracts/senders/aave-v2-migrator/helpers.sol @@ -15,8 +15,7 @@ import { ATokenInterface, StateSenderInterface, AavePriceOracle, - ChainLinkInterface, - ReserveConfigurationMap + ChainLinkInterface } from "./interfaces.sol"; abstract contract Helpers is DSMath, Stores, Variables {