From 342832156fd9da9579ef10a62a54410a62649895 Mon Sep 17 00:00:00 2001 From: Claudia Date: Sun, 16 Feb 2025 17:17:27 +0100 Subject: [PATCH] feat: store the plugin repo proxy in the deployments --- .../deploy/10_create_repo/11_create_repo.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/packages/contracts/deploy/10_create_repo/11_create_repo.ts b/packages/contracts/deploy/10_create_repo/11_create_repo.ts index 914210b7..5993be82 100644 --- a/packages/contracts/deploy/10_create_repo/11_create_repo.ts +++ b/packages/contracts/deploy/10_create_repo/11_create_repo.ts @@ -1,4 +1,7 @@ -import {PLUGIN_REPO_ENS_SUBDOMAIN_NAME} from '../../plugin-settings'; +import { + PLUGIN_REPO_ENS_SUBDOMAIN_NAME, + PLUGIN_REPO_PROXY_NAME, +} from '../../plugin-settings'; import { findPluginRepo, getProductionNetworkName, @@ -52,6 +55,14 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { deployer ); + // Save the plugin repo deployment + await hre.deployments.save(PLUGIN_REPO_PROXY_NAME, { + abi: PluginRepo__factory.abi, + address: pluginRepo.address, + receipt: await tx.wait(), + transactionHash: tx.hash, + }); + console.log( `PluginRepo ${ supportsENS ? 'with ens:' + pluginEnsDomain(hre) : 'without ens'