From 742632eccf678037f41c89eeb127f35812cf67d3 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Tue, 22 May 2018 14:56:51 -0400 Subject: [PATCH] remove contractsManager dependency --- lib/core/engine.js | 1 - test/code_generator.js | 7 +------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/core/engine.js b/lib/core/engine.js index 440dc6959..82b7aa260 100644 --- a/lib/core/engine.js +++ b/lib/core/engine.js @@ -170,7 +170,6 @@ class Engine { this.codeGenerator = new CodeGenerator({ blockchainConfig: self.config.blockchainConfig, contractsConfig: self.config.contractsConfig, - contractsManager: this.contractsManager, plugins: self.plugins, storageConfig: self.config.storageConfig, namesystemConfig: self.config.namesystemConfig, diff --git a/test/code_generator.js b/test/code_generator.js index 3d030e92b..b8d7c6dd2 100644 --- a/test/code_generator.js +++ b/test/code_generator.js @@ -29,12 +29,7 @@ describe('embark.CodeGenerator', function() { } ] - let generator = new CodeGenerator({blockchainConfig: {}, contractsManager: { - contracts: { - SimpleStorage: contracts[0], - Foo: contracts[1] - } - }}); + let generator = new CodeGenerator({blockchainConfig: {}}); describe('with EmbarkJS', function() { let withEmbarkJS = true;