mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +00:00
define contracts type with address defined as static
This commit is contained in:
parent
fe8b8e805e
commit
4492db4603
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user