pass isDev and locale to process
This commit is contained in:
parent
61a5ba5e0a
commit
a69d12e637
|
@ -16,6 +16,8 @@ class Blockchain {
|
||||||
this.contractsConfig = options.contractsConfig;
|
this.contractsConfig = options.contractsConfig;
|
||||||
this.blockchainConfig = options.blockchainConfig;
|
this.blockchainConfig = options.blockchainConfig;
|
||||||
this.web3 = options.web3;
|
this.web3 = options.web3;
|
||||||
|
this.locale = options.locale;
|
||||||
|
this.isDev = options.isDev;
|
||||||
this.addCheck = options.addCheck;
|
this.addCheck = options.addCheck;
|
||||||
this.web3Endpoint = '';
|
this.web3Endpoint = '';
|
||||||
this.isWeb3Ready = false;
|
this.isWeb3Ready = false;
|
||||||
|
@ -95,7 +97,8 @@ class Blockchain {
|
||||||
logger: self.logger,
|
logger: self.logger,
|
||||||
normalizeInput: utils.normalizeInput,
|
normalizeInput: utils.normalizeInput,
|
||||||
blockchainConfig: self.blockchainConfig,
|
blockchainConfig: self.blockchainConfig,
|
||||||
locale: self.locale
|
locale: self.locale,
|
||||||
|
isDev: self.isDev
|
||||||
});
|
});
|
||||||
|
|
||||||
blockchainProcess.startBlockchainNode();
|
blockchainProcess.startBlockchainNode();
|
||||||
|
|
|
@ -290,6 +290,7 @@ class Engine {
|
||||||
events: this.events,
|
events: this.events,
|
||||||
logger: this.logger,
|
logger: this.logger,
|
||||||
isDev: this.isDev,
|
isDev: this.isDev,
|
||||||
|
locale: this.locale,
|
||||||
web3: options.web3
|
web3: options.web3
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@ class BlockchainProcessLauncher {
|
||||||
this.normalizeInput = options.normalizeInput;
|
this.normalizeInput = options.normalizeInput;
|
||||||
this.blockchainConfig = options.blockchainConfig;
|
this.blockchainConfig = options.blockchainConfig;
|
||||||
this.locale = options.locale;
|
this.locale = options.locale;
|
||||||
|
this.isDev = options.isDev;
|
||||||
}
|
}
|
||||||
|
|
||||||
processEnded(code) {
|
processEnded(code) {
|
||||||
|
@ -34,9 +35,7 @@ class BlockchainProcessLauncher {
|
||||||
// TODO: assume for now it's geth
|
// TODO: assume for now it's geth
|
||||||
client: 'geth',
|
client: 'geth',
|
||||||
env: this.env,
|
env: this.env,
|
||||||
//isDev: this.isDev,
|
isDev: this.isDev,
|
||||||
// TODO: assume for now it's true
|
|
||||||
isDev: true,
|
|
||||||
locale: this.locale
|
locale: this.locale
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue