diff --git a/lib/modules/ens/index.js b/lib/modules/ens/index.js index c6cd454b..0845edb5 100644 --- a/lib/modules/ens/index.js +++ b/lib/modules/ens/index.js @@ -61,24 +61,32 @@ class ENS { self.embark.registerContractConfiguration({ "default": { "gas": "auto", - "ENSRegistry": { - "deploy": true, - "args": [] + "contracts": { + "ENSRegistry": { + "deploy": true, + "args": [] + } } }, "ropsten": { - "ENSRegistry": { - "address": "0x112234455c3a32fd11230c42e7bccd4a84e02010" + "contracts": { + "ENSRegistry": { + "address": "0x112234455c3a32fd11230c42e7bccd4a84e02010" + } } }, "rinkeby": { - "ENSRegistry": { - "address": "0xe7410170f87102DF0055eB195163A03B7F2Bff4A" + "contracts": { + "ENSRegistry": { + "address": "0xe7410170f87102DF0055eB195163A03B7F2Bff4A" + } } }, "livenet": { - "ENSRegistry": { - "address": "0x314159265dd8dbb310642f98f50c066173c1259b" + "contracts": { + "ENSRegistry": { + "address": "0x314159265dd8dbb310642f98f50c066173c1259b" + } } } }); @@ -92,10 +100,12 @@ class ENS { self.embark.registerContractConfiguration({ "default": { "gas": "auto", - "FIFSRegistrar": { - "deploy": true, - "args": ["$ENSRegistry", rootNode], - "onDeploy": ["ENSRegistry.methods.setOwner(0, FIFSRegistrar.options.address).send()"] + "contracts": { + "FIFSRegistrar": { + "deploy": true, + "args": ["$ENSRegistry", rootNode], + "onDeploy": ["ENSRegistry.methods.setOwner(0, FIFSRegistrar.options.address).send()"] + } } } });