diff --git a/packages/contracts-bedrock/deploy/000-L2OutputOracle.deploy.ts b/packages/contracts-bedrock/deploy/000-L2OutputOracle.deploy.ts index c7602623ebc92..bb3331d1cb1da 100644 --- a/packages/contracts-bedrock/deploy/000-L2OutputOracle.deploy.ts +++ b/packages/contracts-bedrock/deploy/000-L2OutputOracle.deploy.ts @@ -10,12 +10,14 @@ const deployFn: DeployFunction = async (hre) => { const { deployer } = await hre.getNamedAccounts() const { deployConfig } = hre - const l1 = hre.ethers.getDefaultProvider() + const l1 = hre.ethers.provider const l1StartingBlock = await l1.getBlock(deployConfig.l1StartingBlockTag) if (l1StartingBlock === null) { throw new Error(`Cannot fetch block tag ${deployConfig.l1StartingBlockTag}`) } + return + await deploy('L2OutputOracleProxy', { contract: 'Proxy', from: deployer,