From 6fbed47205fd312c72f7437d7393d1d69d200846 Mon Sep 17 00:00:00 2001 From: Zer0dot Date: Mon, 8 Feb 2021 16:18:49 -0500 Subject: [PATCH] Fixed deploy-new-asset script --- helpers/contracts-deployments.ts | 4 ++-- tasks/helpers/deploy-new-asset.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/helpers/contracts-deployments.ts b/helpers/contracts-deployments.ts index a2b9b826..d6133108 100644 --- a/helpers/contracts-deployments.ts +++ b/helpers/contracts-deployments.ts @@ -300,7 +300,7 @@ export const deployDefaultReserveInterestRateStrategy = async ( ); export const deployStableDebtToken = async ( - args: [tEthereumAddress, tEthereumAddress, string, string, tEthereumAddress], + args: [tEthereumAddress, tEthereumAddress, tEthereumAddress, string, string], verify: boolean ) => { const instance = await withSaveAndVerify( @@ -324,7 +324,7 @@ export const deployStableDebtToken = async ( export const deployVariableDebtToken = async ( - args: [tEthereumAddress, tEthereumAddress, string, string, tEthereumAddress], + args: [tEthereumAddress, tEthereumAddress, tEthereumAddress, string, string], verify: boolean ) => { const instance = await withSaveAndVerify( diff --git a/tasks/helpers/deploy-new-asset.ts b/tasks/helpers/deploy-new-asset.ts index 912ebff1..50cde45b 100644 --- a/tasks/helpers/deploy-new-asset.ts +++ b/tasks/helpers/deploy-new-asset.ts @@ -53,9 +53,9 @@ WRONG RESERVE ASSET SETUP: poolAddress, reserveAssetAddress, treasuryAddress, + ZERO_ADDRESS, // Incentives Controller `Aave interest bearing ${symbol}`, `a${symbol}`, - ZERO_ADDRESS, ], verify ); @@ -63,9 +63,9 @@ WRONG RESERVE ASSET SETUP: [ poolAddress, reserveAssetAddress, + ZERO_ADDRESS, // Incentives Controller `Aave stable debt bearing ${symbol}`, `stableDebt${symbol}`, - ZERO_ADDRESS, ], verify ); @@ -73,9 +73,9 @@ WRONG RESERVE ASSET SETUP: [ poolAddress, reserveAssetAddress, + ZERO_ADDRESS, // Incentives Controller `Aave variable debt bearing ${symbol}`, `variableDebt${symbol}`, - ZERO_ADDRESS, ], verify );