mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-03 02:43:25 +00:00
finish it all up
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
This commit is contained in:
parent
d3f7d0e702
commit
c568b36977
@ -56,7 +56,6 @@ class ENS {
|
|||||||
|
|
||||||
configureENSRegistry() {
|
configureENSRegistry() {
|
||||||
const self = this;
|
const self = this;
|
||||||
console.log("DIS DIR RIGHT HEYA: ", __dirname);
|
|
||||||
self.embark.registerContractConfiguration({
|
self.embark.registerContractConfiguration({
|
||||||
"default": {
|
"default": {
|
||||||
"gas": "auto",
|
"gas": "auto",
|
||||||
@ -88,8 +87,8 @@ class ENS {
|
|||||||
}
|
}
|
||||||
|
|
||||||
addSetProvider(config) {
|
addSetProvider(config) {
|
||||||
|
|
||||||
let code = "\nEmbarkJS.Names.setProvider('ens'," + config + ");";
|
let code = "\nEmbarkJS.Names.setProvider('ens'," + JSON.stringify(config) + ");";
|
||||||
|
|
||||||
let shouldInit = (namesConfig) => {
|
let shouldInit = (namesConfig) => {
|
||||||
return (namesConfig.provider === 'ens' && namesConfig.enabled === true);
|
return (namesConfig.provider === 'ens' && namesConfig.enabled === true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user