Commit 5c7993b8 authored by Adrian Sutton's avatar Adrian Sutton

devnet: Ensure geth terminates if devnet-allocs fails

parent bd7e7965
......@@ -156,6 +156,7 @@ def devnet_l1_genesis(paths):
'--rpc.allow-unprotected-txs'
])
try:
forge = ChildProcess(deploy_contracts, paths)
forge.start()
forge.join()
......@@ -168,6 +169,7 @@ def devnet_l1_genesis(paths):
allocs = response['result']
write_json(paths.allocs_path, allocs)
finally:
geth.terminate()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment