Skip to content

Commit

Permalink
feat: store the plugin repo proxy in the deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
clauBv23 committed Feb 16, 2025
1 parent 472438a commit 3428321
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion packages/contracts/deploy/10_create_repo/11_create_repo.ts
Original file line number Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit 3428321

Please sign in to comment.