From 5362b804c40de97c4a5ee84bc83d673bd26cde18 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Mon, 29 Oct 2018 18:37:07 +0100 Subject: [PATCH] tmp fix for when contract is missing in sol tests --- lib/modules/tests/solc_test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/modules/tests/solc_test.js b/lib/modules/tests/solc_test.js index 4f0a94da1..f3fb2255c 100644 --- a/lib/modules/tests/solc_test.js +++ b/lib/modules/tests/solc_test.js @@ -57,6 +57,8 @@ class SolcTest extends Test { console.info('Deploying contracts'.cyan); let fns = []; contracts.forEach((contract) => { + // TODO: fix me + if (!contract) return; contract._gasLimit = self.gasLimit; let fn = (cb) => { self.events.request('deploy:contract', contract, cb);