start web3 service so getGasPrice is available
This commit is contained in:
parent
b363873da2
commit
01277f6014
11
lib/index.js
11
lib/index.js
|
@ -239,8 +239,7 @@ class Embark {
|
|||
});
|
||||
engine.init();
|
||||
|
||||
async.parallel([
|
||||
|
||||
async.waterfall([
|
||||
function (callback) {
|
||||
let pluginList = engine.plugins.listPlugins();
|
||||
if (pluginList.length > 0) {
|
||||
|
@ -251,14 +250,12 @@ class Embark {
|
|||
engine.startService("libraryManager");
|
||||
engine.startService("pipeline");
|
||||
engine.startService("deployment", {onlyCompile: true});
|
||||
|
||||
engine.startService("web3");
|
||||
engine.startService("codeGenerator");
|
||||
|
||||
engine.events.request('deploy:contracts', function(err) {
|
||||
callback(err);
|
||||
});
|
||||
engine.events.request('deploy:contracts', callback);
|
||||
}
|
||||
], (err, _result) => {
|
||||
], (err) => {
|
||||
if (err) {
|
||||
engine.logger.error(err.message);
|
||||
engine.logger.info(err.stack);
|
||||
|
|
Loading…
Reference in New Issue