Merge pull request #893 from embark-framework/always_add_ens_contracts

always add ens contracts source so abi definition is always available
This commit is contained in:
Iuri Matias 2018-09-21 19:24:56 -04:00 committed by GitHub
commit 81c914b5a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -305,11 +305,11 @@ class ENS {
config.privatenet = config.development;
this.embark.registerContractConfiguration(config);
if (this.isDev || this.env === 'privatenet') {
//if (this.isDev || this.env === 'privatenet') {
this.embark.events.request("config:contractsFiles:add", this.embark.pathToFile('./contracts/ENSRegistry.sol'));
this.embark.events.request("config:contractsFiles:add", this.embark.pathToFile('./contracts/FIFSRegistrar.sol'));
this.embark.events.request("config:contractsFiles:add", this.embark.pathToFile('./contracts/Resolver.sol'));
}
//}
}
addSetProvider(config) {