Commit 466fd958 authored by Delweng's avatar Delweng Committed by GitHub

fix(devnet): declare variable l2_output_oracle and then use (#12504)

Signed-off-by: default avatarjsvisa <delweng@gmail.com>
parent 27c12a13
...@@ -259,8 +259,8 @@ def devnet_deploy(paths): ...@@ -259,8 +259,8 @@ def devnet_deploy(paths):
# Selectively set the L2OO_ADDRESS or DGF_ADDRESS if using L2OO. # Selectively set the L2OO_ADDRESS or DGF_ADDRESS if using L2OO.
# 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
l2_output_oracle = addresses['L2OutputOracleProxy'] l2_output_oracle = addresses['L2OutputOracleProxy']
docker_env['L2OO_ADDRESS'] = l2_output_oracle
log.info(f'Using L2OutputOracle {l2_output_oracle}') log.info(f'Using L2OutputOracle {l2_output_oracle}')
else: else:
dispute_game_factory = addresses['DisputeGameFactoryProxy'] dispute_game_factory = addresses['DisputeGameFactoryProxy']
......
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