From f7557dc53e12982cfd6a533de53de72a718eb613 Mon Sep 17 00:00:00 2001 From: leovct Date: Tue, 5 Dec 2023 13:03:42 +0100 Subject: [PATCH] chore: update logs --- migrations/7_pol_migration.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/migrations/7_pol_migration.js b/migrations/7_pol_migration.js index e8758ddf..c48c45f7 100644 --- a/migrations/7_pol_migration.js +++ b/migrations/7_pol_migration.js @@ -68,13 +68,15 @@ async function migrateMatic(governance, depositManager, mintAmount) { depositManager.address, depositManager.contract.methods.migrateMatic(mintAmount).encodeABI() ) + console.log('Migrate MATIC tokens to POL tokens:', result.tx) } module.exports = async function(deployer, _, _) { deployer.then(async() => { // Deploy contracts. console.log('> Deploying POL token contracts...') - const mintAmount = web3.utils.toBN('10').pow(web3.utils.toBN('18')).toString() + const oneEther = web3.utils.toBN('10').pow(web3.utils.toBN('18')) + const mintAmount = oneEther.mul(web3.utils.toBN('100')).toString() // 100 ethers console.log('\n> Updating DepositManager...') const governance = await Governance.at(contractAddresses.root.GovernanceProxy)