From 134439dbb1d3299aa89e7a3d29c769209db4c6cb Mon Sep 17 00:00:00 2001 From: Leslie Fung Date: Tue, 26 Mar 2024 21:52:54 +1100 Subject: [PATCH] Fix imports --- test/trading/seaport/immutableseaport.test.ts | 2 +- test/trading/seaport/utils/deploy-immutable-contracts.ts | 2 +- test/trading/seaport/utils/erc721.ts | 4 ++-- test/trading/seaport/utils/order.ts | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/trading/seaport/immutableseaport.test.ts b/test/trading/seaport/immutableseaport.test.ts index f866c51f..ec6ac3b0 100644 --- a/test/trading/seaport/immutableseaport.test.ts +++ b/test/trading/seaport/immutableseaport.test.ts @@ -2,7 +2,7 @@ import { ethers, network } from "hardhat"; import { randomBytes } from "crypto"; -import type { ImmutableSeaport, ImmutableSignedZone, TestERC721 } from "../../typechain-types"; +import type { ImmutableSeaport, ImmutableSignedZone, TestERC721 } from "../../../typechain-types"; import { constants } from "ethers"; import type { Wallet, BigNumber, BigNumberish } from "ethers"; import { deployImmutableContracts } from "./utils/deploy-immutable-contracts"; diff --git a/test/trading/seaport/utils/deploy-immutable-contracts.ts b/test/trading/seaport/utils/deploy-immutable-contracts.ts index ed0b9b24..08d23653 100644 --- a/test/trading/seaport/utils/deploy-immutable-contracts.ts +++ b/test/trading/seaport/utils/deploy-immutable-contracts.ts @@ -1,5 +1,5 @@ import hre from "hardhat"; -import { ImmutableSeaport, ImmutableSignedZone } from "../../../typechain-types"; +import { ImmutableSeaport, ImmutableSignedZone } from "../../../../typechain-types"; // Deploy the Immutable ecosystem contracts, returning the contract // references diff --git a/test/trading/seaport/utils/erc721.ts b/test/trading/seaport/utils/erc721.ts index b3edf2e9..37cd83f5 100644 --- a/test/trading/seaport/utils/erc721.ts +++ b/test/trading/seaport/utils/erc721.ts @@ -3,12 +3,12 @@ import hre from "hardhat"; import { getOfferOrConsiderationItem, randomBN } from "./encoding"; -import type { TestERC721 } from "../../../typechain-types"; +import type { TestERC721 } from "../../../../typechain-types"; import type { BigNumberish, BigNumber, Contract, Wallet } from "ethers"; export async function deployERC721(): Promise { const erc721Factory = await hre.ethers.getContractFactory("TestERC721"); - const erc721 = await erc721Factory.deploy(); + const erc721 = (await erc721Factory.deploy()) as TestERC721; return erc721.deployed(); } diff --git a/test/trading/seaport/utils/order.ts b/test/trading/seaport/utils/order.ts index 07ec0b4a..9affe7d7 100644 --- a/test/trading/seaport/utils/order.ts +++ b/test/trading/seaport/utils/order.ts @@ -7,9 +7,9 @@ import { calculateOrderHash, convertSignatureToEIP2098, randomHex, toBN } from " import type { ConsiderationItem, OfferItem, OrderComponents } from "./types"; import type { Contract, Wallet } from "ethers"; -import { ImmutableSeaport, TestZone } from "../../../typechain-types"; +import { ImmutableSeaport, TestZone } from "../../../../typechain-types"; import { getBulkOrderTree } from "./eip712/bulk-orders"; -import { ReceivedItemStruct } from "../../../typechain-types/contracts/ImmutableSeaport"; +import { ReceivedItemStruct } from "../../../../typechain-types/contracts/trading/seaport/ImmutableSeaport"; import { CONSIDERATION_EIP712_TYPE, EIP712_DOMAIN, SIGNED_ORDER_EIP712_TYPE, getCurrentTimeStamp } from "./signedZone"; const orderType = {