mirror of https://github.com/embarklabs/embark.git
remove contractsManager dependency
This commit is contained in:
parent
3f9c55131b
commit
742632eccf
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue