chore(python-packages): Change docker command in setup.py
This commit is contained in:
parent
646e856b51
commit
72a56db5ab
@ -137,14 +137,8 @@ class GanacheCommand(distutils.command.build_py.build_py):
|
|||||||
def run(self):
|
def run(self):
|
||||||
"""Run ganache."""
|
"""Run ganache."""
|
||||||
cmd_line = (
|
cmd_line = (
|
||||||
"docker run -d -p 8545:8545 0xorg/ganache-cli --gasLimit"
|
"docker run -d -p 8545:8545 0xorg/ganache-cli:2.2.2"
|
||||||
+ " 10000000 --db /snapshot --noVMErrorsOnRPCResponse -p 8545"
|
|
||||||
+ " --networkId 50 -m"
|
|
||||||
).split()
|
).split()
|
||||||
cmd_line.append(
|
|
||||||
"concert load couple harbor equip island argue ramp clarify fence"
|
|
||||||
+ " smart topic"
|
|
||||||
)
|
|
||||||
subprocess.call(cmd_line) # nosec
|
subprocess.call(cmd_line) # nosec
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user