diff --git a/tasks/deployments/add-market-to-registry.ts b/tasks/deployments/add-market-to-registry.ts index 0e1d4b68..c21c7280 100644 --- a/tasks/deployments/add-market-to-registry.ts +++ b/tasks/deployments/add-market-to-registry.ts @@ -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();