mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-03 10:54:16 +00:00
Add access to the contract
This commit is contained in:
parent
147292d8f0
commit
692014aa8d
12
lib/index.js
12
lib/index.js
@ -260,14 +260,22 @@ class Embark {
|
|||||||
engine.startService("libraryManager");
|
engine.startService("libraryManager");
|
||||||
engine.startService("codeRunner");
|
engine.startService("codeRunner");
|
||||||
engine.startService("web3");
|
engine.startService("web3");
|
||||||
engine.startService("deployment", {onlyCompile: true});
|
engine.startService("pipeline");
|
||||||
|
engine.startService("deployment", {onlyCompile: false});
|
||||||
engine.startService("storage");
|
engine.startService("storage");
|
||||||
|
engine.startService("codeGenerator");
|
||||||
|
|
||||||
callback();
|
callback();
|
||||||
},
|
},
|
||||||
function deploy(callback) {
|
function deploy(callback) {
|
||||||
engine.events.request('deploy:contracts', function (err) {
|
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);
|
callback(err);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user