From 6b0be435e519051f13b656f052ca6f8849de9f16 Mon Sep 17 00:00:00 2001 From: zhl Date: Thu, 10 Feb 2022 10:40:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8F=91=E5=B8=83=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- migrations/8_deploy_timelock.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/migrations/8_deploy_timelock.js b/migrations/8_deploy_timelock.js index 9403d16..95494b7 100644 --- a/migrations/8_deploy_timelock.js +++ b/migrations/8_deploy_timelock.js @@ -23,10 +23,16 @@ module.exports = async function (deployer, network, accounts) { const marketInstance = await MarketPlace.deployed(); await marketInstance.transferOwnership(timelockInstance.address); console.log('MarketPlace onwer has change to: ', timelockInstance.address); - console.log('============= begin generate config ==============') const heroInstance = await Hero.deployed(); + await heroInstance.transferOwnership(timelockInstance.address); + console.log('Hero onwer has change to: ', timelockInstance.address); const equipInstance = await Equip.deployed(); + await equipInstance.transferOwnership(timelockInstance.address); + console.log('Equip onwer has change to: ', timelockInstance.address); const chipInstance = await Chip.deployed(); + await chipInstance.transferOwnership(timelockInstance.address); + console.log('Chip onwer has change to: ', timelockInstance.address); + console.log('============= begin generate config ==============') const coinInstance = await Coin.deployed(); const factoryInstance = await Factory.deployed(); const proxyInstance = await EvolveProxy.deployed();