finish the deployment stage
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
This commit is contained in:
parent
734dc85825
commit
bb797edbe1
|
@ -16,12 +16,11 @@ class ENS {
|
||||||
this.configureENSRegistry();
|
this.configureENSRegistry();
|
||||||
self.embark.registerActionForEvent("contracts:deploy:afterAll", (cb) => {
|
self.embark.registerActionForEvent("contracts:deploy:afterAll", (cb) => {
|
||||||
self.events.request('contracts:contract', "ENSRegistry", (contract) => {
|
self.events.request('contracts:contract', "ENSRegistry", (contract) => {
|
||||||
console.log("CONTRACT: ", contract);
|
let config = {
|
||||||
/*let config = {
|
|
||||||
abi: contract.abiDefinition,
|
abi: contract.abiDefinition,
|
||||||
address: contract.deployedAddress
|
address: contract.deployedAddress
|
||||||
};*/
|
};
|
||||||
//self.addSetProvider(config);
|
self.addSetProvider(config);
|
||||||
return cb();
|
return cb();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -85,7 +84,7 @@ class ENS {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
self.embark.events.request("config:contractsFiles:add", embark.pathToFile('./contracts/ENSRegistry.sol'));
|
self.embark.events.request("config:contractsFiles:add", self.embark.pathToFile('./contracts/ENSRegistry.sol'));
|
||||||
}
|
}
|
||||||
|
|
||||||
addSetProvider(config) {
|
addSetProvider(config) {
|
||||||
|
|
Loading…
Reference in New Issue