diff --git a/lib/deploy.js b/lib/deploy.js index 81fcf08a..d0be3c06 100644 --- a/lib/deploy.js +++ b/lib/deploy.js @@ -70,6 +70,8 @@ Deploy.prototype.deploy_contracts = function(env) { if (chainContract != undefined) { console.log("contract " + className + " is unchanged and already deployed at " + chainContract.address); + this.deployedContracts[className] = contractAddress; + this.execute_cmds(contract.onDeploy); } else {