From 857ebd0496590d8053d18cdf9db7d0cb7d07ed03 Mon Sep 17 00:00:00 2001 From: Roman Storm Date: Mon, 15 Jul 2019 14:34:54 -0700 Subject: [PATCH] show contract's address --- migrations/4_deploy_mixer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/migrations/4_deploy_mixer.js b/migrations/4_deploy_mixer.js index 3eec4ba..675ba91 100644 --- a/migrations/4_deploy_mixer.js +++ b/migrations/4_deploy_mixer.js @@ -10,6 +10,7 @@ module.exports = function(deployer) { const verifier = await Verifier.deployed() const miMC = await MiMC.deployed() await Mixer.link(MiMC, miMC.address) - await deployer.deploy(Mixer, verifier.address, AMOUNT, MERKLE_TREE_HEIGHT, EMPTY_ELEMENT) + const mixer = await deployer.deploy(Mixer, verifier.address, AMOUNT, MERKLE_TREE_HEIGHT, EMPTY_ELEMENT) + console.log("Mixer's address ", mixer.address) }) };