mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
removed redeployment of protocol for the flow
This commit is contained in:
parent
bd42a8cfa5
commit
5509e442d5
|
@ -24,8 +24,11 @@ task('aave:basicFlow', 'Execute protocol basic flow').setAction(async ({verify},
|
||||||
|
|
||||||
console.log('Basic Flow started\n');
|
console.log('Basic Flow started\n');
|
||||||
// deploy protocol
|
// deploy protocol
|
||||||
await localBRE.run('aave:dev');
|
// await localBRE.run('aave:dev');
|
||||||
const tokens: MockTokenMap = await getMockedTokens(AaveConfig);
|
const tokens: MockTokenMap = await getMockedTokens(AaveConfig);
|
||||||
|
if (!tokens || Object.keys(tokens).length === 0) {
|
||||||
|
throw new Error('Deploy contracts first');
|
||||||
|
}
|
||||||
|
|
||||||
// mint reserve tokens to user0
|
// mint reserve tokens to user0
|
||||||
const DAI = tokens.DAI;
|
const DAI = tokens.DAI;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user