mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-25 14:39:30 +00:00
set the host flag for ganache-cli
This commit is contained in:
parent
63cd59842c
commit
bf1585c097
@ -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…
x
Reference in New Issue
Block a user