Commit c938fdfc authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

devnet: fix build issue (#12364)

It began to error after https://github.com/ethereum-optimism/optimism/pull/12336
parent 078e0169
...@@ -247,11 +247,7 @@ def devnet_deploy(paths): ...@@ -247,11 +247,7 @@ def devnet_deploy(paths):
wait_for_rpc_server('127.0.0.1:9545') wait_for_rpc_server('127.0.0.1:9545')
# Print out the addresses being used for easier debugging. # Print out the addresses being used for easier debugging.
l2_output_oracle = addresses['L2OutputOracleProxy']
dispute_game_factory = addresses['DisputeGameFactoryProxy']
batch_inbox_address = rollup_config['batch_inbox_address'] batch_inbox_address = rollup_config['batch_inbox_address']
log.info(f'Using L2OutputOracle {l2_output_oracle}')
log.info(f'Using DisputeGameFactory {dispute_game_factory}')
log.info(f'Using batch inbox {batch_inbox_address}') log.info(f'Using batch inbox {batch_inbox_address}')
# Set up the base docker environment. # Set up the base docker environment.
...@@ -264,7 +260,11 @@ def devnet_deploy(paths): ...@@ -264,7 +260,11 @@ def devnet_deploy(paths):
# Must be done selectively because op-proposer throws if both are set. # Must be done selectively because op-proposer throws if both are set.
if DEVNET_L2OO: if DEVNET_L2OO:
docker_env['L2OO_ADDRESS'] = l2_output_oracle docker_env['L2OO_ADDRESS'] = l2_output_oracle
l2_output_oracle = addresses['L2OutputOracleProxy']
log.info(f'Using L2OutputOracle {l2_output_oracle}')
else: else:
dispute_game_factory = addresses['DisputeGameFactoryProxy']
log.info(f'Using DisputeGameFactory {dispute_game_factory}')
docker_env['DGF_ADDRESS'] = dispute_game_factory docker_env['DGF_ADDRESS'] = dispute_game_factory
docker_env['DG_TYPE'] = '254' docker_env['DG_TYPE'] = '254'
docker_env['PROPOSAL_INTERVAL'] = '12s' docker_env['PROPOSAL_INTERVAL'] = '12s'
......
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