From 4492db4603ef6b0ffdfcb13315c4019b2a638d20 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Mon, 6 Jul 2015 08:33:26 -0400 Subject: [PATCH] define contracts type with address defined as static --- lib/config/contracts.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/config/contracts.js b/lib/config/contracts.js index 2ba32969d..ef3756a02 100644 --- a/lib/config/contracts.js +++ b/lib/config/contracts.js @@ -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);