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();