Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
Rekard0 committed Nov 26, 2024
1 parent 10626fb commit 057ba2c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/contracts/deploy/new/51_save-contract-addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,12 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
)) as DAOFactory;
const daoBaseAddress = await daoFactory.daoBase();

pluginRepoBaseDetail = {
deployedContractDetails['DAOBase'] = {
address: daoBaseAddress,
blockNumber: contractDetails.blockNumber,
deploymentTx: contractDetails.deploymentTx,
};

deployedContractDetails['DAOBase'] = pluginRepoBaseDetail;

console.log(`DAOBase: ${daoBaseAddress}`);
break;

Expand All @@ -72,11 +70,14 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
const pluginRepoBaseAddress =
await pluginRepoFactory.pluginRepoBase();

deployedContractDetails['PluginRepoBase'] = {
pluginRepoBaseDetail = {
address: pluginRepoBaseAddress,
blockNumber: contractDetails.blockNumber,
deploymentTx: contractDetails.deploymentTx,
};

deployedContractDetails['PluginRepoBase'] = pluginRepoBaseDetail;

console.log(`PluginRepoBase: ${pluginRepoBaseAddress}`);
break;

Expand Down

0 comments on commit 057ba2c

Please sign in to comment.