mirror of https://github.com/embarklabs/embark.git
always add ens contracts source so abi definition is always available in environments the contract is already deployed
This commit is contained in:
parent
681dddbbf2
commit
7e710745ce
|
@ -305,11 +305,11 @@ class ENS {
|
||||||
config.privatenet = config.development;
|
config.privatenet = config.development;
|
||||||
this.embark.registerContractConfiguration(config);
|
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/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/FIFSRegistrar.sol'));
|
||||||
this.embark.events.request("config:contractsFiles:add", this.embark.pathToFile('./contracts/Resolver.sol'));
|
this.embark.events.request("config:contractsFiles:add", this.embark.pathToFile('./contracts/Resolver.sol'));
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
addSetProvider(config) {
|
addSetProvider(config) {
|
||||||
|
|
Loading…
Reference in New Issue