diff --git a/deploy/contracts.js b/deploy/contracts.js index e3c2aa97..dcd73f39 100644 --- a/deploy/contracts.js +++ b/deploy/contracts.js @@ -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); diff --git a/scripts/deploy.js b/scripts/deploy.js index da9f1026..122e0394 100644 --- a/scripts/deploy.js +++ b/scripts/deploy.js @@ -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);