only add & deploy fifs register if it's actually a non live env
This commit is contained in:
parent
3b6251eeb1
commit
78814dc9d6
|
@ -286,6 +286,7 @@ class ENS {
|
||||||
|
|
||||||
if (this.registration && this.registration.rootDomain) {
|
if (this.registration && this.registration.rootDomain) {
|
||||||
// Register root domain if it is defined
|
// Register root domain if it is defined
|
||||||
|
if (this.isDev || this.env === 'privatenet' || this.env ==='development') {
|
||||||
const rootNode = namehash.hash(this.registration.rootDomain);
|
const rootNode = namehash.hash(this.registration.rootDomain);
|
||||||
config.default.contracts['FIFSRegistrar'] = {
|
config.default.contracts['FIFSRegistrar'] = {
|
||||||
"deploy": true,
|
"deploy": true,
|
||||||
|
@ -302,6 +303,7 @@ class ENS {
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
}
|
||||||
config.privatenet = config.development;
|
config.privatenet = config.development;
|
||||||
this.embark.registerContractConfiguration(config);
|
this.embark.registerContractConfiguration(config);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue