if contract already deployed record it and generate api; also re-run ondeploy
This commit is contained in:
parent
1ff7d4bba3
commit
efdf24c49b
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Reference in New Issue