Skip to content

Commit

Permalink
fix: fixing deployment scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
kupermind committed Apr 19, 2022
1 parent b5584dc commit a073835
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion deploy/contracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ module.exports = async () => {
await serviceRegistry.deployed();

const ServiceManager = await ethers.getContractFactory("ServiceManager");
const serviceManager = await ServiceManager.deploy(serviceRegistry.address);
// Treasury address is irrelevant at the moment
const serviceManager = await ServiceManager.deploy(serviceRegistry.address, deployer.address);
await serviceManager.deployed();

console.log("ServiceRegistry deployed to:", serviceRegistry.address);
Expand Down
3 changes: 2 additions & 1 deletion scripts/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ async function main() {
await serviceRegistry.deployed();

const ServiceManager = await ethers.getContractFactory("ServiceManager");
const serviceManager = await ServiceManager.deploy(serviceRegistry.address);
// Treasury address is irrelevant at the moment
const serviceManager = await ServiceManager.deploy(serviceRegistry.address, deployer.address);
await serviceManager.deployed();

console.log("ServiceRegistry deployed to:", serviceRegistry.address);
Expand Down

0 comments on commit a073835

Please sign in to comment.