always add ens contracts source so abi definition is always available in environments the contract is already deployed

This commit is contained in:
Iuri Matias 2018-09-21 19:02:44 -04:00
parent 681dddbbf2
commit 7e710745ce
1 changed files with 2 additions and 2 deletions

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) {