mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-04 01:44:24 +00:00
set the host flag for ganache-cli
This commit is contained in:
parent
282513ad8e
commit
423d0fadb8
@ -21,9 +21,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…
x
Reference in New Issue
Block a user