mirror of https://github.com/embarklabs/embark.git
set the host flag for ganache-cli
This commit is contained in:
parent
33048b01b7
commit
d78c9bd74a
|
@ -20,9 +20,7 @@ class Simulator {
|
||||||
let port = (options.port || this.blockchainConfig.rpcPort || 8545);
|
let port = (options.port || this.blockchainConfig.rpcPort || 8545);
|
||||||
|
|
||||||
cmds.push("-p " + (port + (useProxy ? constants.blockchain.servicePortOnProxy : 0)));
|
cmds.push("-p " + (port + (useProxy ? constants.blockchain.servicePortOnProxy : 0)));
|
||||||
// if (!ganache) {
|
cmds.push("-h " + host);
|
||||||
// cmds.push("-h " + host);
|
|
||||||
// }
|
|
||||||
cmds.push("-a " + (options.numAccounts || 10));
|
cmds.push("-a " + (options.numAccounts || 10));
|
||||||
cmds.push("-e " + (options.defaultBalance || 100));
|
cmds.push("-e " + (options.defaultBalance || 100));
|
||||||
cmds.push("-l " + (options.gasLimit || 8000000));
|
cmds.push("-l " + (options.gasLimit || 8000000));
|
||||||
|
|
Loading…
Reference in New Issue