From 12235b03df249428eb469de674128cf7d35f640e Mon Sep 17 00:00:00 2001 From: CJ42 Date: Tue, 6 Feb 2024 09:20:59 +0100 Subject: [PATCH] test: update path for LSP8Mintable TS types --- dodoc/config.ts | 4 ---- tests/Benchmark.test.ts | 4 ++-- .../LSP6/Interactions/AllowedFunctions.test.ts | 8 ++------ .../LSP6KeyManager/Interactions/AllowedFunctions.test.ts | 8 ++------ .../LSP8Mintable.behaviour.ts | 3 ++- .../proxy/LSP8MintableInit.test.ts | 2 +- .../standard/LSP8Mintable.test.ts | 2 +- 7 files changed, 10 insertions(+), 21 deletions(-) diff --git a/dodoc/config.ts b/dodoc/config.ts index f6de83186..3bf0c12a4 100644 --- a/dodoc/config.ts +++ b/dodoc/config.ts @@ -27,15 +27,11 @@ export const dodocConfig = { 'lsp7/contracts/LSP7DigitalAsset.sol', 'lsp7/contracts/extensions/LSP7Burnable.sol', 'lsp7/contracts/extensions/LSP7CappedSupply.sol', - 'lsp7/contracts/extensions/LSP7CompatibleERC20.sol', - 'lsp7/contracts/presets/LSP7CompatibleERC20Mintable.sol', 'lsp7/contracts/presets/LSP7Mintable.sol', 'lsp8/contracts/LSP8IdentifiableDigitalAsset.sol', 'lsp8/contracts/extensions/LSP8Burnable.sol', 'lsp8/contracts/extensions/LSP8CappedSupply.sol', - 'lsp8/contracts/extensions/LSP8CompatibleERC721.sol', 'lsp8/contracts/extensions/LSP8Enumerable.sol', - 'lsp8/contracts/presets/LSP8CompatibleERC721Mintable.sol', 'lsp8/contracts/presets/LSP8Mintable.sol', // libraries -------------------- diff --git a/tests/Benchmark.test.ts b/tests/Benchmark.test.ts index 42d9006fb..ec1b73d9b 100644 --- a/tests/Benchmark.test.ts +++ b/tests/Benchmark.test.ts @@ -8,12 +8,12 @@ import { LSP1UniversalReceiverDelegateUP, LSP1UniversalReceiverDelegateUP__factory, LSP6KeyManager__factory, - LSP8Mintable, - LSP8Mintable__factory, UniversalProfile, UniversalProfile__factory, } from '../types'; +import { LSP8Mintable, LSP8Mintable__factory } from 'lsp8/types'; + import { ERC725YDataKeys, INTERFACE_IDS, diff --git a/tests/LSP20CallVerification/LSP6/Interactions/AllowedFunctions.test.ts b/tests/LSP20CallVerification/LSP6/Interactions/AllowedFunctions.test.ts index fe14c27c4..c6439c881 100644 --- a/tests/LSP20CallVerification/LSP6/Interactions/AllowedFunctions.test.ts +++ b/tests/LSP20CallVerification/LSP6/Interactions/AllowedFunctions.test.ts @@ -3,12 +3,8 @@ import { ethers } from 'hardhat'; import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers'; import { LSP7Mintable, LSP7Mintable__factory } from 'lsp7/types'; -import { - LSP8Mintable, - LSP8Mintable__factory, - TargetContract, - TargetContract__factory, -} from '../../../../types'; +import { LSP8Mintable, LSP8Mintable__factory } from 'lsp8/types'; +import { TargetContract, TargetContract__factory } from '../../../../types'; // constants import { diff --git a/tests/LSP6KeyManager/Interactions/AllowedFunctions.test.ts b/tests/LSP6KeyManager/Interactions/AllowedFunctions.test.ts index 14615cfe4..4ea8d0613 100644 --- a/tests/LSP6KeyManager/Interactions/AllowedFunctions.test.ts +++ b/tests/LSP6KeyManager/Interactions/AllowedFunctions.test.ts @@ -4,12 +4,8 @@ import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers'; import { EIP191Signer } from '@lukso/eip191-signer.js'; import { LSP7Mintable, LSP7Mintable__factory } from 'lsp7/types'; -import { - LSP8Mintable, - LSP8Mintable__factory, - TargetContract, - TargetContract__factory, -} from '../../../types'; +import { LSP8Mintable, LSP8Mintable__factory } from 'lsp8/types'; +import { TargetContract, TargetContract__factory } from '../../../types'; // constants import { diff --git a/tests/LSP8IdentifiableDigitalAsset/LSP8Mintable.behaviour.ts b/tests/LSP8IdentifiableDigitalAsset/LSP8Mintable.behaviour.ts index fe97b05f2..657227e89 100644 --- a/tests/LSP8IdentifiableDigitalAsset/LSP8Mintable.behaviour.ts +++ b/tests/LSP8IdentifiableDigitalAsset/LSP8Mintable.behaviour.ts @@ -2,13 +2,14 @@ import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers'; import { ethers } from 'hardhat'; import { expect } from 'chai'; import { - LSP8Mintable, LSP8TransferOwnerChange, UniversalProfile, LSP6KeyManager, UniversalReceiverDelegateTokenReentrant__factory, } from '../../types'; +import { LSP8Mintable } from 'lsp8/types'; + import { setupProfileWithKeyManagerWithURD } from '../utils/fixtures'; import { PERMISSIONS, ERC725YDataKeys, OPERATION_TYPES, CALLTYPE } from '../../constants'; diff --git a/tests/LSP8IdentifiableDigitalAsset/proxy/LSP8MintableInit.test.ts b/tests/LSP8IdentifiableDigitalAsset/proxy/LSP8MintableInit.test.ts index 4068d37fe..95407df80 100644 --- a/tests/LSP8IdentifiableDigitalAsset/proxy/LSP8MintableInit.test.ts +++ b/tests/LSP8IdentifiableDigitalAsset/proxy/LSP8MintableInit.test.ts @@ -1,6 +1,6 @@ import { ethers } from 'hardhat'; import { expect } from 'chai'; -import { LSP8MintableInit, LSP8MintableInit__factory } from '../../../types'; +import { LSP8MintableInit, LSP8MintableInit__factory } from 'lsp8/types'; import { shouldInitializeLikeLSP8 } from '../LSP8IdentifiableDigitalAsset.behaviour'; import { diff --git a/tests/LSP8IdentifiableDigitalAsset/standard/LSP8Mintable.test.ts b/tests/LSP8IdentifiableDigitalAsset/standard/LSP8Mintable.test.ts index 33c998448..8a1d899b3 100644 --- a/tests/LSP8IdentifiableDigitalAsset/standard/LSP8Mintable.test.ts +++ b/tests/LSP8IdentifiableDigitalAsset/standard/LSP8Mintable.test.ts @@ -1,5 +1,5 @@ import { LSP4_TOKEN_TYPES, LSP8_TOKEN_ID_FORMAT } from '../../../constants'; -import { LSP8Mintable, LSP8Mintable__factory } from '../../../types'; +import { LSP8Mintable, LSP8Mintable__factory } from 'lsp8/types'; import { shouldInitializeLikeLSP8 } from '../LSP8IdentifiableDigitalAsset.behaviour'; import {