put contracts inside the contracts field

This commit is contained in:
Iuri Matias 2018-06-21 13:24:41 -04:00
parent 1adb91ef65
commit 722e1a2011

View File

@ -326,10 +326,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()"]
}
}
}
});