remove contractsManager dependency

This commit is contained in:
Iuri Matias 2018-05-22 14:56:51 -04:00
parent 3f9c55131b
commit 742632eccf
2 changed files with 1 additions and 7 deletions

View File

@ -170,7 +170,6 @@ class Engine {
this.codeGenerator = new CodeGenerator({ this.codeGenerator = new CodeGenerator({
blockchainConfig: self.config.blockchainConfig, blockchainConfig: self.config.blockchainConfig,
contractsConfig: self.config.contractsConfig, contractsConfig: self.config.contractsConfig,
contractsManager: this.contractsManager,
plugins: self.plugins, plugins: self.plugins,
storageConfig: self.config.storageConfig, storageConfig: self.config.storageConfig,
namesystemConfig: self.config.namesystemConfig, namesystemConfig: self.config.namesystemConfig,

View File

@ -29,12 +29,7 @@ describe('embark.CodeGenerator', function() {
} }
] ]
let generator = new CodeGenerator({blockchainConfig: {}, contractsManager: { let generator = new CodeGenerator({blockchainConfig: {}});
contracts: {
SimpleStorage: contracts[0],
Foo: contracts[1]
}
}});
describe('with EmbarkJS', function() { describe('with EmbarkJS', function() {
let withEmbarkJS = true; let withEmbarkJS = true;