Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bianyuanop committed May 7, 2024
1 parent c17844f commit 0be333b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bedrock-devnet/devnet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,8 @@ def devnet_deploy(paths, args):
l2_provider_port = int(l2_provider_url.split(':')[-1])
l2_provider_http = l2_provider_url

log.info(f'l2 provider http: {l2_provider_http}, port: {l2_provider_port}')

log.info('Bringing up L2.')
run_command(['docker', 'compose', '-f', compose_file, 'up', '-d', f'{l2}-l2', f'{l2}-geth-proxy'], cwd=paths.ops_bedrock_dir, env={
'PWD': paths.ops_bedrock_dir,
Expand Down Expand Up @@ -616,6 +618,7 @@ def wait_for_rpc_server(url):
conn.request('POST', '/', body, headers)
response = conn.getresponse()
conn.close()
log.info(response)
if response.status < 300:
log.info(f'RPC server at {url} ready')
return
Expand Down

0 comments on commit 0be333b

Please sign in to comment.