🐛 pass pool argument to task

This commit is contained in:
shivani 2021-06-07 09:58:28 +05:30
parent b47fd4f7b9
commit 2c001cc819

View File

@ -40,7 +40,7 @@ task('add-market-to-registry', 'Adds address provider to registry')
) {
console.log('- Deploying a new Address Providers Registry:');
await DRE.run('full:deploy-address-provider-registry', { verify });
await DRE.run('full:deploy-address-provider-registry', { pool, verify });
providerRegistryAddress = (await getLendingPoolAddressesProviderRegistry()).address;
providerRegistryOwner = await (await getFirstSigner()).getAddress();