fix: Fix naming of ARC market

This commit is contained in:
miguelmtzinf 2021-11-03 14:27:44 +01:00
parent e43e046d62
commit 9d2a1d365c
3 changed files with 10 additions and 10 deletions

View File

@ -138,11 +138,11 @@ docker-compose exec contracts-env bash
npm run aave:kovan:full:migration npm run aave:kovan:full:migration
``` ```
### Kovan Aave Pro Deployment ### Kovan Aave ARC Deployment
You can deploy aave-pro with default configuration on kovan. You can deploy aave-arc with default configuration on kovan.
In `markets/aave-pro/commons.ts` make following changes: In `markets/aave-arc/commons.ts` make following changes:
- Configure `ProviderRegistryOwner` and `ReserveFactorTreasuryAddress` - Configure `ProviderRegistryOwner` and `ReserveFactorTreasuryAddress`
@ -189,7 +189,7 @@ In `markets/aave-pro/commons.ts` make following changes:
}, },
``` ```
**Note:** To configure aave pro market you can update `markets/aave-pro/` **Note:** To configure aave arc market you can update `markets/aave-arc/`
#### Deploy Market #### Deploy Market
@ -203,13 +203,13 @@ docker-compose up
docker-compose exec contracts-env bash docker-compose exec contracts-env bash
# A new Bash terminal is prompted, connected to the container # A new Bash terminal is prompted, connected to the container
npm run pro:kovan:full:migration npm run arc:kovan:full:migration
``` ```
**Without Docker** **Without Docker**
``` ```
npm run pro:kovan:full:migration npm run arc:kovan:full:migration
``` ```
### Mainnet fork deployment ### Mainnet fork deployment

View File

@ -64,9 +64,9 @@
"aave:main:full:migration": "npm run compile && npm run hardhat:main -- aave:mainnet --verify", "aave:main:full:migration": "npm run compile && npm run hardhat:main -- aave:mainnet --verify",
"aave:main:full:initialize": "npm run compile && FORK=main full:initialize-tokens --pool Aave", "aave:main:full:initialize": "npm run compile && FORK=main full:initialize-tokens --pool Aave",
"amm:main:full:migration": "npm run compile && npm run hardhat:main -- amm:mainnet --verify", "amm:main:full:migration": "npm run compile && npm run hardhat:main -- amm:mainnet --verify",
"pro:fork:kovan": "npm run compile && FORK=kovan hardhat pro:mainnet", "arc:fork:kovan": "npm run compile && FORK=kovan hardhat pro:mainnet",
"pro:kovan:full:migration": "npm run compile && npm run hardhat:kovan -- pro:mainnet --verify", "arc:kovan:full:migration": "npm run compile && npm run hardhat:kovan -- pro:mainnet --verify",
"pro:main:full:migration": "npm run compile && npm run hardhat:main -- pro:mainnet --verify", "arc:main:full:migration": "npm run compile && npm run hardhat:main -- pro:mainnet --verify",
"prettier:check": "npx prettier -c 'tasks/**/*.ts' 'contracts/**/*.sol' 'helpers/**/*.ts' 'test-suites/test-aave/**/*.ts'", "prettier:check": "npx prettier -c 'tasks/**/*.ts' 'contracts/**/*.sol' 'helpers/**/*.ts' 'test-suites/test-aave/**/*.ts'",
"prettier:write": "prettier --write 'tasks/**/*.ts' 'contracts/**/*.sol' 'helpers/**/*.ts' 'test-suites/test-aave/**/*.ts'", "prettier:write": "prettier --write 'tasks/**/*.ts' 'contracts/**/*.sol' 'helpers/**/*.ts' 'test-suites/test-aave/**/*.ts'",
"ci:test": "npm run compile && npm run test", "ci:test": "npm run compile && npm run test",

View File

@ -4,7 +4,7 @@ import { ConfigNames } from '../../helpers/configuration';
import { printContracts } from '../../helpers/misc-utils'; import { printContracts } from '../../helpers/misc-utils';
import { usingTenderly } from '../../helpers/tenderly-utils'; import { usingTenderly } from '../../helpers/tenderly-utils';
task('pro:mainnet', 'Deploy development enviroment') task('arc:mainnet', 'Deploy development enviroment')
.addFlag('verify', 'Verify contracts at Etherscan') .addFlag('verify', 'Verify contracts at Etherscan')
.setAction(async ({ verify }, DRE) => { .setAction(async ({ verify }, DRE) => {
const POOL_NAME = ConfigNames.Arc; const POOL_NAME = ConfigNames.Arc;