Commit 3268bb38 authored by Maurelian's avatar Maurelian Committed by Kelvin Fichter

refactor(contracts): Remove address-names from exports

parent 280f348c
......@@ -7,7 +7,7 @@ import {
sendImpersonatedTx,
BIG_BALANCE,
} from '../src/hardhat-deploy-ethers'
import { names } from '../src'
import { names } from '../src/address-names'
import { awaitCondition } from '@eth-optimism/core-utils'
const deployFn: DeployFunction = async (hre) => {
......
/* Imports: Internal */
import { names } from '../src'
import { names } from '../src/address-names'
/* Imports: External */
import { DeployFunction } from 'hardhat-deploy/dist/types'
......
......@@ -6,7 +6,7 @@ import {
deployAndVerifyAndThen,
getContractFromArtifact,
} from '../src/hardhat-deploy-ethers'
import { names } from '../src'
import { names } from '../src/address-names'
const deployFn: DeployFunction = async (hre) => {
const Lib_AddressManager = await getContractFromArtifact(
......
......@@ -6,7 +6,7 @@ import {
deployAndVerifyAndThen,
getContractFromArtifact,
} from '../src/hardhat-deploy-ethers'
import { names } from '../src'
import { names } from '../src/address-names'
const deployFn: DeployFunction = async (hre) => {
const Lib_AddressManager = await getContractFromArtifact(
......
......@@ -6,7 +6,7 @@ import {
deployAndVerifyAndThen,
getContractFromArtifact,
} from '../src/hardhat-deploy-ethers'
import { names } from '../src'
import { names } from '../src/address-names'
const deployFn: DeployFunction = async (hre) => {
const Lib_AddressManager = await getContractFromArtifact(
......
......@@ -6,7 +6,7 @@ import {
deployAndVerifyAndThen,
getContractFromArtifact,
} from '../src/hardhat-deploy-ethers'
import { names } from '../src'
import { names } from '../src/address-names'
const deployFn: DeployFunction = async (hre) => {
const Lib_AddressManager = await getContractFromArtifact(
......
......@@ -6,7 +6,7 @@ import {
deployAndVerifyAndThen,
getContractFromArtifact,
} from '../src/hardhat-deploy-ethers'
import { names } from '../src'
import { names } from '../src/address-names'
const deployFn: DeployFunction = async (hre) => {
const Lib_AddressManager = await getContractFromArtifact(
......
......@@ -7,7 +7,7 @@ import {
deployAndVerifyAndThen,
getContractFromArtifact,
} from '../src/hardhat-deploy-ethers'
import { names } from '../src'
import { names } from '../src/address-names'
const deployFn: DeployFunction = async (hre) => {
const Lib_AddressManager = await getContractFromArtifact(
......
......@@ -6,7 +6,7 @@ import {
deployAndVerifyAndThen,
getContractFromArtifact,
} from '../src/hardhat-deploy-ethers'
import { names } from '../src'
import { names } from '../src/address-names'
const deployFn: DeployFunction = async (hre) => {
const Lib_AddressManager = await getContractFromArtifact(
......
......@@ -3,7 +3,7 @@ import { DeployFunction } from 'hardhat-deploy/dist/types'
/* Imports: Internal */
import { deployAndVerifyAndThen } from '../src/hardhat-deploy-ethers'
import { names } from '../src'
import { names } from '../src/address-names'
const deployFn: DeployFunction = async (hre) => {
const { deployer } = await hre.getNamedAccounts()
......
......@@ -7,7 +7,7 @@ import {
deployAndVerifyAndThen,
getContractFromArtifact,
} from '../src/hardhat-deploy-ethers'
import { names } from '../src'
import { names } from '../src/address-names'
import { predeploys } from '../src/predeploys'
const deployFn: DeployFunction = async (hre) => {
......
......@@ -6,9 +6,8 @@ import { DeployFunction } from 'hardhat-deploy/dist/types'
import {
getContractFromArtifact,
isHardhatNode,
getContractFromArtifact,
} from '../src/hardhat-deploy-ethers'
import { names } from '../src'
import { names } from '../src/address-names'
const deployFn: DeployFunction = async (hre) => {
const { deployer } = await hre.getNamedAccounts()
......
......@@ -4,7 +4,7 @@ import { hexStringEquals, awaitCondition } from '@eth-optimism/core-utils'
/* Imports: Internal */
import { getContractFromArtifact } from '../src/hardhat-deploy-ethers'
import { names } from '../src'
import { names } from '../src/address-names'
const deployFn: DeployFunction = async (hre) => {
const { deployer } = await hre.getNamedAccounts()
......
......@@ -9,7 +9,7 @@ import {
getContractFromArtifact,
deployAndVerifyAndThen,
} from '../src/hardhat-deploy-ethers'
import { names } from '../src'
import { names } from '../src/address-names'
const deployFn: DeployFunction = async (hre) => {
const Proxy__OVM_L1StandardBridge = await getContractFromArtifact(
......
......@@ -10,7 +10,7 @@ import {
deployAndVerifyAndThen,
isHardhatNode,
} from '../src/hardhat-deploy-ethers'
import { names } from '../src'
import { names } from '../src/address-names'
const deployFn: DeployFunction = async (hre) => {
const { deployer } = await hre.getNamedAccounts()
......
......@@ -9,7 +9,7 @@ import {
getContractFromArtifact,
isHardhatNode,
} from '../src/hardhat-deploy-ethers'
import { names } from '../src'
import { names } from '../src/address-names'
// This is a TEMPORARY way to fund the default hardhat accounts on L2. The better way to do this is
// to make a modification to hardhat-ovm. However, I don't have the time right now to figure the
......
export * from './contract-defs'
export * from './predeploys'
export * from './connect-contracts'
export * from './address-names'
......@@ -23,7 +23,7 @@ import {
getEthTime,
getNextBlockNumber,
} from '../../../helpers'
import { names } from '../../../../src'
import { names } from '../../../../src/address-names'
const ELEMENT_TEST_SIZES = [1, 2, 4, 8, 16]
const MAX_GAS_LIMIT = 8_000_000
......
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