Commit 582ebc67 authored by elenadimitrova's avatar elenadimitrova Committed by Kelvin Fichter

Reorg contract test files to match contracts folder structure

parent e2b3293a
import { expect } from '../../../../setup' import { expect } from '../../../setup'
/* External Imports */ /* External Imports */
import { ethers } from 'hardhat' import { ethers } from 'hardhat'
...@@ -19,9 +19,9 @@ import { ...@@ -19,9 +19,9 @@ import {
TrieTestGenerator, TrieTestGenerator,
getNextBlockNumber, getNextBlockNumber,
encodeXDomainCalldata, encodeXDomainCalldata,
} from '../../../../helpers' } from '../../../helpers'
import { keccak256 } from 'ethers/lib/utils' import { keccak256 } from 'ethers/lib/utils'
import { predeploys } from '../../../../../src' import { predeploys } from '../../../../src'
const MAX_GAS_LIMIT = 8_000_000 const MAX_GAS_LIMIT = 8_000_000
......
import { expect } from '../../../../setup' import { expect } from '../../../setup'
/* External Imports */ /* External Imports */
import { ethers } from 'hardhat' import { ethers } from 'hardhat'
...@@ -7,8 +7,8 @@ import { Interface } from 'ethers/lib/utils' ...@@ -7,8 +7,8 @@ import { Interface } from 'ethers/lib/utils'
import { smockit, MockContract, smoddit } from '@eth-optimism/smock' import { smockit, MockContract, smoddit } from '@eth-optimism/smock'
/* Internal Imports */ /* Internal Imports */
import { NON_NULL_BYTES32, NON_ZERO_ADDRESS } from '../../../../helpers' import { NON_NULL_BYTES32, NON_ZERO_ADDRESS } from '../../../helpers'
import { getContractInterface, predeploys } from '../../../../../src' import { getContractInterface, predeploys } from '../../../../src'
const ERR_INVALID_MESSENGER = 'OVM_XCHAIN: messenger contract unauthenticated' const ERR_INVALID_MESSENGER = 'OVM_XCHAIN: messenger contract unauthenticated'
const ERR_INVALID_X_DOMAIN_MSG_SENDER = const ERR_INVALID_X_DOMAIN_MSG_SENDER =
......
import { expect } from '../../../../setup' import { expect } from '../../../setup'
/* External Imports */ /* External Imports */
import { ethers } from 'hardhat' import { ethers } from 'hardhat'
...@@ -14,8 +14,8 @@ import { ...@@ -14,8 +14,8 @@ import {
NON_ZERO_ADDRESS, NON_ZERO_ADDRESS,
encodeXDomainCalldata, encodeXDomainCalldata,
getNextBlockNumber, getNextBlockNumber,
} from '../../../../helpers' } from '../../../helpers'
import { getContractInterface } from '../../../../../src' import { getContractInterface } from '../../../../src'
describe('OVM_L2CrossDomainMessenger', () => { describe('OVM_L2CrossDomainMessenger', () => {
let signer: Signer let signer: Signer
......
import { expect } from '../../../../setup' import { expect } from '../../../setup'
/* External Imports */ /* External Imports */
import { ethers } from 'hardhat' import { ethers } from 'hardhat'
...@@ -12,9 +12,9 @@ import { ...@@ -12,9 +12,9 @@ import {
} from '@eth-optimism/smock' } from '@eth-optimism/smock'
/* Internal Imports */ /* Internal Imports */
import { NON_NULL_BYTES32, NON_ZERO_ADDRESS } from '../../../../helpers' import { NON_NULL_BYTES32, NON_ZERO_ADDRESS } from '../../../helpers'
import { getContractInterface } from '../../../../../src' import { getContractInterface } from '../../../../src'
const ERR_INVALID_MESSENGER = 'OVM_XCHAIN: messenger contract unauthenticated' const ERR_INVALID_MESSENGER = 'OVM_XCHAIN: messenger contract unauthenticated'
const ERR_INVALID_X_DOMAIN_MSG_SENDER = const ERR_INVALID_X_DOMAIN_MSG_SENDER =
......
import { expect } from '../../../../setup' import { expect } from '../../../setup'
/* External Imports */ /* External Imports */
import { ethers } from 'hardhat' import { ethers } from 'hardhat'
...@@ -6,7 +6,7 @@ import { Signer, ContractFactory, Contract } from 'ethers' ...@@ -6,7 +6,7 @@ import { Signer, ContractFactory, Contract } from 'ethers'
import { smoddit } from '@eth-optimism/smock' import { smoddit } from '@eth-optimism/smock'
/* Internal Imports */ /* Internal Imports */
import { predeploys, getContractInterface } from '../../../../../src' import { predeploys, getContractInterface } from '../../../../src'
describe('OVM_L2StandardTokenFactory', () => { describe('OVM_L2StandardTokenFactory', () => {
let signer: Signer let signer: Signer
......
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