@@ -63,18 +63,18 @@ module.exports = function(deployer) {
6363 . then ( instance => {
6464 aIexecHub = instance ;
6565 console . log ( "IexecHub deployed at address: " + aIexecHub . address ) ;
66- return aWorkerPoolHubInstance . transferOwnership ( aIexecHub . address ) ;
66+ return aWorkerPoolHubInstance . setImmutableOwnership ( aIexecHub . address ) ;
6767 } )
6868 . then ( ( ) => {
69- console . log ( "transferOwnership of WorkerPoolHub to IexecHub" ) ;
70- return aAppHubInstance . transferOwnership ( aIexecHub . address ) ;
69+ console . log ( "setImmutableOwnership of WorkerPoolHub to IexecHub" ) ;
70+ return aAppHubInstance . setImmutableOwnership ( aIexecHub . address ) ;
7171 } )
7272 . then ( ( ) => {
73- console . log ( "transferOwnership of AppHub to IexecHub" ) ;
74- return aDatasetHubInstance . transferOwnership ( aIexecHub . address ) ;
73+ console . log ( "setImmutableOwnership of AppHub to IexecHub" ) ;
74+ return aDatasetHubInstance . setImmutableOwnership ( aIexecHub . address ) ;
7575 } )
7676 . then ( ( ) => {
77- console . log ( "transferOwnership of DatasetHub to IexecHub" ) ;
77+ console . log ( "setImmutableOwnership of DatasetHub to IexecHub" ) ;
7878 return deployer . deploy ( Marketplace , aIexecHub . address ) ;
7979 } )
8080 . then ( ( ) => Marketplace . deployed ( ) )
@@ -152,18 +152,18 @@ module.exports = function(deployer) {
152152 .then(instance => {
153153 aIexecHub = instance;
154154 console.log("IexecHub deployed at address: " + aIexecHub.address);
155- return aWorkerPoolHubInstance.transferOwnership (aIexecHub.address);
155+ return aWorkerPoolHubInstance.setImmutableOwnership (aIexecHub.address);
156156 })
157157 .then(() => {
158- console.log("transferOwnership of WorkerPoolHub to IexecHub");
159- return aAppHubInstance.transferOwnership (aIexecHub.address);
158+ console.log("setImmutableOwnership of WorkerPoolHub to IexecHub");
159+ return aAppHubInstance.setImmutableOwnership (aIexecHub.address);
160160 })
161161 .then(() => {
162- console.log("transferOwnership of AppHub to IexecHub");
163- return aDatasetHubInstance.transferOwnership (aIexecHub.address);
162+ console.log("setImmutableOwnership of AppHub to IexecHub");
163+ return aDatasetHubInstance.setImmutableOwnership (aIexecHub.address);
164164 })
165165 .then(() => {
166- console.log("transferOwnership of DatasetHub to IexecHub");
166+ console.log("setImmutableOwnership of DatasetHub to IexecHub");
167167 return deployer.deploy(Marketplace, aIexecHub.address);
168168 })
169169 .then(() => Marketplace.deployed())
0 commit comments