define contracts type with address defined as static

This commit is contained in:
Iuri Matias 2015-07-06 08:33:26 -04:00
parent fe8b8e805e
commit 4492db4603

View File

@ -111,6 +111,9 @@ ContractsConfig.prototype.compileContracts = function(env) {
contract.instanceOf = contractConfig.instanceOf;
contract.compiled = all_compiled_contracts[contractConfig.instanceOf];
}
if (contractConfig.address !== undefined) {
contract.types.push('static');
}
if (this.all_contracts.indexOf(className) < 0) {
this.all_contracts.push(className);