display in logs contracts with address specified in the config

This commit is contained in:
Iuri Matias 2018-03-04 19:23:02 -05:00
parent 33b42dd9c1
commit a03be15c4a
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ class Deploy {
return callback(e.message); return callback(e.message);
} }
contract.deployedAddress = contract.address; contract.deployedAddress = contract.address;
self.logger.info(contract.className.bold.cyan + " already deployed at ".green + contract.address.bold.cyan);
if (this.deployTracker) { if (this.deployTracker) {
self.deployTracker.trackContract(contract.className, contract.realRuntimeBytecode, realArgs, contract.address); self.deployTracker.trackContract(contract.className, contract.realRuntimeBytecode, realArgs, contract.address);
self.deployTracker.save(); self.deployTracker.save();