Commit e146f83c authored by Kelvin Fichter's avatar Kelvin Fichter

fix(ctb): broken devnet tests

parent 8333f0f2
import { ethers } from 'ethers'
import { DeployFunction } from 'hardhat-deploy/dist/types' import { DeployFunction } from 'hardhat-deploy/dist/types'
import { predeploys } from '../src' import { predeploys } from '../src'
...@@ -8,7 +9,7 @@ import { ...@@ -8,7 +9,7 @@ import {
} from '../src/deploy-utils' } from '../src/deploy-utils'
const deployFn: DeployFunction = async (hre) => { const deployFn: DeployFunction = async (hre) => {
let L1CrossDomainMessengerProxy let L1CrossDomainMessengerProxy: ethers.Contract
try { try {
L1CrossDomainMessengerProxy = await getContractFromArtifact( L1CrossDomainMessengerProxy = await getContractFromArtifact(
hre, hre,
...@@ -17,7 +18,7 @@ const deployFn: DeployFunction = async (hre) => { ...@@ -17,7 +18,7 @@ const deployFn: DeployFunction = async (hre) => {
} catch { } catch {
L1CrossDomainMessengerProxy = await getContractFromArtifact( L1CrossDomainMessengerProxy = await getContractFromArtifact(
hre, hre,
'L1CrossDomainMessenger' 'L1CrossDomainMessengerProxy'
) )
} }
......
import { ethers } from 'ethers'
import { DeployFunction } from 'hardhat-deploy/dist/types' import { DeployFunction } from 'hardhat-deploy/dist/types'
import { import {
...@@ -7,7 +8,7 @@ import { ...@@ -7,7 +8,7 @@ import {
} from '../src/deploy-utils' } from '../src/deploy-utils'
const deployFn: DeployFunction = async (hre) => { const deployFn: DeployFunction = async (hre) => {
let L1StandardBridgeProxy let L1StandardBridgeProxy: ethers.Contract
try { try {
L1StandardBridgeProxy = await getContractFromArtifact( L1StandardBridgeProxy = await getContractFromArtifact(
hre, hre,
...@@ -16,7 +17,7 @@ const deployFn: DeployFunction = async (hre) => { ...@@ -16,7 +17,7 @@ const deployFn: DeployFunction = async (hre) => {
} catch (e) { } catch (e) {
L1StandardBridgeProxy = await getContractFromArtifact( L1StandardBridgeProxy = await getContractFromArtifact(
hre, hre,
'L1StandardBridge' 'L1StandardBridgeProxy'
) )
} }
......
import { ethers } from 'ethers'
import { DeployFunction } from 'hardhat-deploy/dist/types' import { DeployFunction } from 'hardhat-deploy/dist/types'
import { predeploys } from '../src' import { predeploys } from '../src'
...@@ -8,7 +9,7 @@ import { ...@@ -8,7 +9,7 @@ import {
} from '../src/deploy-utils' } from '../src/deploy-utils'
const deployFn: DeployFunction = async (hre) => { const deployFn: DeployFunction = async (hre) => {
let L1CrossDomainMessengerProxy let L1CrossDomainMessengerProxy: ethers.Contract
try { try {
L1CrossDomainMessengerProxy = await getContractFromArtifact( L1CrossDomainMessengerProxy = await getContractFromArtifact(
hre, hre,
...@@ -17,7 +18,7 @@ const deployFn: DeployFunction = async (hre) => { ...@@ -17,7 +18,7 @@ const deployFn: DeployFunction = async (hre) => {
} catch { } catch {
L1CrossDomainMessengerProxy = await getContractFromArtifact( L1CrossDomainMessengerProxy = await getContractFromArtifact(
hre, hre,
'L1CrossDomainMessenger' 'L1CrossDomainMessengerProxy'
) )
} }
......
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