mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-02 10:25:21 +00:00
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…
x
Reference in New Issue
Block a user