diff --git a/lib/core/engine.js b/lib/core/engine.js index 440dc695..82b7aa26 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 3d030e92..b8d7c6dd 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;