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.blockchainConfig = options.blockchainConfig;
|
||||
this.web3 = options.web3;
|
||||
this.locale = options.locale;
|
||||
this.isDev = options.isDev;
|
||||
this.addCheck = options.addCheck;
|
||||
this.web3Endpoint = '';
|
||||
this.isWeb3Ready = false;
|
||||
|
@ -95,7 +97,8 @@ class Blockchain {
|
|||
logger: self.logger,
|
||||
normalizeInput: utils.normalizeInput,
|
||||
blockchainConfig: self.blockchainConfig,
|
||||
locale: self.locale
|
||||
locale: self.locale,
|
||||
isDev: self.isDev
|
||||
});
|
||||
|
||||
blockchainProcess.startBlockchainNode();
|
||||
|
|
|
@ -290,6 +290,7 @@ class Engine {
|
|||
events: this.events,
|
||||
logger: this.logger,
|
||||
isDev: this.isDev,
|
||||
locale: this.locale,
|
||||
web3: options.web3
|
||||
});
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ class BlockchainProcessLauncher {
|
|||
this.normalizeInput = options.normalizeInput;
|
||||
this.blockchainConfig = options.blockchainConfig;
|
||||
this.locale = options.locale;
|
||||
this.isDev = options.isDev;
|
||||
}
|
||||
|
||||
processEnded(code) {
|
||||
|
@ -34,9 +35,7 @@ class BlockchainProcessLauncher {
|
|||
// TODO: assume for now it's geth
|
||||
client: 'geth',
|
||||
env: this.env,
|
||||
//isDev: this.isDev,
|
||||
// TODO: assume for now it's true
|
||||
isDev: true,
|
||||
isDev: this.isDev,
|
||||
locale: this.locale
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue