Skip to content

Commit

Permalink
Merge pull request #1460 from privacy-scaling-explorations/fix/remove…
Browse files Browse the repository at this point in the history
…-topup-task

fix(hardhat-deploy-tasks): removed topup from deploy scripts
  • Loading branch information
ctrlc03 authored May 14, 2024
2 parents 9a07d80 + 790e6e0 commit 83a5adb
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 34 deletions.
File renamed without changes.
31 changes: 0 additions & 31 deletions contracts/tasks/deploy/maci/04-topupCredit.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ deployment.deployTask("full:deploy-maci", "Deploy MACI contract").then((task) =>
deployment.getDeployConfigField<EContracts | null>(EContracts.MACI, "gatekeeper") ||
EContracts.FreeForAllGatekeeper;
const gatekeeperContractAddress = storage.mustGetAddress(gatekeeper, hre.network.name);
const topupCreditContractAddress = storage.mustGetAddress(EContracts.TopupCredit, hre.network.name);
const pollFactoryContractAddress = storage.mustGetAddress(EContracts.PollFactory, hre.network.name);
const messageProcessorFactoryContractAddress = storage.mustGetAddress(
EContracts.MessageProcessorFactory,
Expand All @@ -64,7 +63,6 @@ deployment.deployTask("full:deploy-maci", "Deploy MACI contract").then((task) =>
tallyFactoryContractAddress,
gatekeeperContractAddress,
constantInitialVoiceCreditProxyContractAddress,
topupCreditContractAddress,
stateTreeDepth,
);

Expand Down Expand Up @@ -95,7 +93,6 @@ deployment.deployTask("full:deploy-maci", "Deploy MACI contract").then((task) =>
tallyFactoryContractAddress,
gatekeeperContractAddress,
constantInitialVoiceCreditProxyContractAddress,
topupCreditContractAddress,
stateTreeDepth,
],
network: hre.network.name,
Expand Down

0 comments on commit 83a5adb

Please sign in to comment.