diff --git a/bedrock-devnet/devnet/__init__.py b/bedrock-devnet/devnet/__init__.py index 8a3fb0ee4c99..8ff9c6b45691 100644 --- a/bedrock-devnet/devnet/__init__.py +++ b/bedrock-devnet/devnet/__init__.py @@ -247,11 +247,7 @@ def devnet_deploy(paths): wait_for_rpc_server('127.0.0.1:9545') # 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'] - 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}') # Set up the base docker environment. @@ -264,7 +260,11 @@ def devnet_deploy(paths): # Must be done selectively because op-proposer throws if both are set. if DEVNET_L2OO: docker_env['L2OO_ADDRESS'] = l2_output_oracle + l2_output_oracle = addresses['L2OutputOracleProxy'] + log.info(f'Using L2OutputOracle {l2_output_oracle}') else: + dispute_game_factory = addresses['DisputeGameFactoryProxy'] + log.info(f'Using DisputeGameFactory {dispute_game_factory}') docker_env['DGF_ADDRESS'] = dispute_game_factory docker_env['DG_TYPE'] = '254' docker_env['PROPOSAL_INTERVAL'] = '12s'