mirror of https://github.com/embarklabs/embark.git
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
|
||||
var configObject = {
|
||||
"default": {
|
||||
"available_providers": ["ens"],
|
||||
"provider": "ens",
|
||||
"enabled": true
|
||||
"enabled": false
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ class ENS {
|
|||
this.events.setCommandHandler("storage:ens:associate", this.associateStorageToEns.bind(this));
|
||||
}
|
||||
|
||||
setProviderAndRegisterDomains(cb = () => {}) {
|
||||
setProviderAndRegisterDomains(cb) {
|
||||
const self = this;
|
||||
async.parallel([
|
||||
function getENSRegistry(paraCb) {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
module.exports = {
|
||||
// default applies to all environments
|
||||
default: {
|
||||
enabled: true,
|
||||
available_providers: ["ens"],
|
||||
provider: "ens"
|
||||
},
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
module.exports = {
|
||||
// default applies to all environments
|
||||
default: {
|
||||
enabled: true,
|
||||
available_providers: ["ens"],
|
||||
provider: "ens"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue