remove contractsManager dependency
This commit is contained in:
parent
3f9c55131b
commit
742632eccf
|
@ -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,
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue