Merge pull request #1439 from 0xProject/migrations/docker-image

Add Docker image and Snapshot commands for migrations
This commit is contained in:
Jacob Evans
2019-01-09 12:55:42 +11:00
committed by GitHub
8 changed files with 109 additions and 12 deletions

View File

@@ -137,14 +137,8 @@ class GanacheCommand(distutils.command.build_py.build_py):
def run(self):
"""Run ganache."""
cmd_line = (
"docker run -d -p 8545:8545 0xorg/ganache-cli --gasLimit"
+ " 10000000 --db /snapshot --noVMErrorsOnRPCResponse -p 8545"
+ " --networkId 50 -m"
"docker run -d -p 8545:8545 0xorg/ganache-cli:2.2.2"
).split()
cmd_line.append(
"concert load couple harbor equip island argue ramp clarify fence"
+ " smart topic"
)
subprocess.call(cmd_line) # nosec