diff --git a/lib/contracts/blockchain.js b/lib/contracts/blockchain.js index 374bbf49..95257964 100644 --- a/lib/contracts/blockchain.js +++ b/lib/contracts/blockchain.js @@ -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(); diff --git a/lib/core/engine.js b/lib/core/engine.js index 0ffa21b6..37ca5c0e 100644 --- a/lib/core/engine.js +++ b/lib/core/engine.js @@ -290,6 +290,7 @@ class Engine { events: this.events, logger: this.logger, isDev: this.isDev, + locale: this.locale, web3: options.web3 }); diff --git a/lib/processes/blockchainProcessLauncher.js b/lib/processes/blockchainProcessLauncher.js index 7cf79711..55c9af0b 100644 --- a/lib/processes/blockchainProcessLauncher.js +++ b/lib/processes/blockchainProcessLauncher.js @@ -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 } });