Ens disabled by default
This commit is contained in:
parent
1ce8474824
commit
5f90b4516c
|
@ -282,9 +282,7 @@ Config.prototype.loadNameSystemConfigFile = function() {
|
||||||
// todo: spec out names for registration in the file itself for a dev chain
|
// todo: spec out names for registration in the file itself for a dev chain
|
||||||
var configObject = {
|
var configObject = {
|
||||||
"default": {
|
"default": {
|
||||||
"available_providers": ["ens"],
|
"enabled": false
|
||||||
"provider": "ens",
|
|
||||||
"enabled": true
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ class ENS {
|
||||||
this.events.setCommandHandler("storage:ens:associate", this.associateStorageToEns.bind(this));
|
this.events.setCommandHandler("storage:ens:associate", this.associateStorageToEns.bind(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
setProviderAndRegisterDomains(cb = () => {}) {
|
setProviderAndRegisterDomains(cb) {
|
||||||
const self = this;
|
const self = this;
|
||||||
async.parallel([
|
async.parallel([
|
||||||
function getENSRegistry(paraCb) {
|
function getENSRegistry(paraCb) {
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
// default applies to all environments
|
// default applies to all environments
|
||||||
default: {
|
default: {
|
||||||
|
enabled: true,
|
||||||
available_providers: ["ens"],
|
available_providers: ["ens"],
|
||||||
provider: "ens"
|
provider: "ens"
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
// default applies to all environments
|
// default applies to all environments
|
||||||
default: {
|
default: {
|
||||||
|
enabled: true,
|
||||||
available_providers: ["ens"],
|
available_providers: ["ens"],
|
||||||
provider: "ens"
|
provider: "ens"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue