Add access to the contract

This commit is contained in:
Anthony Laibe 2018-07-23 14:12:20 +01:00
parent 57f06b2f19
commit 08a3879453
1 changed files with 10 additions and 2 deletions

View File

@ -263,14 +263,22 @@ class Embark {
engine.startService("libraryManager");
engine.startService("codeRunner");
engine.startService("web3");
engine.startService("deployment", {onlyCompile: true});
engine.startService("pipeline");
engine.startService("deployment", {onlyCompile: false});
engine.startService("storage");
engine.startService("codeGenerator");
callback();
},
function deploy(callback) {
engine.events.request('deploy:contracts', function (err) {
engine.logger.info("Finished deploying".underline);
callback(err);
});
},
function waitForWriteFinish(callback) {
engine.logger.info("Finished deploying".underline);
engine.events.on('outputDone', (err) => {
engine.logger.info(__("finished building").underline);
callback(err);
});
},