git.delta.rocks / unique-network / refs/commits / 647ca2aac4ad

difftreelog

Merge pull request #1051 from UniqueNetwork/feature/playgrounds-refactor

Yaroslav Bolyukin2024-01-09parents: #a478235 #e4eea6c.patch.diff
in: master

154 files changed

modified.github/workflows/xcm.ymldiffbeforeafterboth
368 yarn add mochawesome368 yarn add mochawesome
369369
370 - name: Call HRMP initialization370 - name: Call HRMP initialization
371 working-directory: js-packages/tests371 working-directory: js-packages/scripts
372 run: |372 run: |
373 yarn node --no-warnings=ExperimentalWarning --loader ts-node/esm util/createHrmp.ts ${{matrix.network}}373 yarn node --no-warnings=ExperimentalWarning --loader ts-node/esm createHrmp.ts ${{matrix.network}}
374374
375 - name: Run XCM tests375 - name: Run XCM tests
376 working-directory: js-packages/tests376 working-directory: js-packages/tests
modifiedjs-packages/package.jsondiffbeforeafterboth
26 "@types/node": "^20.8.10",26 "@types/node": "^20.8.10",
27 "@typescript-eslint/eslint-plugin": "^6.10.0",27 "@typescript-eslint/eslint-plugin": "^6.10.0",
28 "@typescript-eslint/parser": "^6.10.0",28 "@typescript-eslint/parser": "^6.10.0",
29 "@unique/opal-types": "workspace:*",29 "@unique-nft/opal-testnet-types": "workspace:*",
30 "@unique/playgrounds": "workspace:*",30 "@unique-nft/playgrounds": "workspace:*",
31 "@unique/test-utils": "workspace:*",
31 "chai": "^4.3.10",32 "chai": "^4.3.10",
32 "chai-subset": "^1.6.0",33 "chai-subset": "^1.6.0",
33 "eslint": "^8.53.0",34 "eslint": "^8.53.0",
59 "types",60 "types",
60 "playgrounds",61 "playgrounds",
61 "scripts",62 "scripts",
63 "test-utils",
62 "tests"64 "tests"
63 ]65 ]
64}66}
modifiedjs-packages/playgrounds/package.jsondiffbeforeafterboth
1{1{
2 "author": "",2 "author": "Unique Network",
3 "license": "SEE LICENSE IN ../../../LICENSE",3 "license": "Apache 2.0",
4 "description": "Playground scripts",4 "description": "Helpers for Unique Network chain",
5 "engines": {5 "engines": {
6 "node": ">=16"6 "node": ">=18"
7 },7 },
8 "name": "@unique/playgrounds",8 "name": "@unique-nft/playgrounds",
9 "type": "module",9 "type": "module",
10 "version": "1.0.0",10 "version": "1.0.0",
11 "main": "unique.js",11 "main": "unique.js",
12 "dependencies": {12 "dependencies": {
13 "@polkadot/api": "10.10.1",13 "@polkadot/api": "10.10.1",
14 "@polkadot/util": "^12.5.1",14 "@polkadot/util": "^12.5.1",
15 "@polkadot/util-crypto": "^12.5.1",15 "@polkadot/util-crypto": "^12.5.1"
16 "@unique/opal-types": "workspace:*"
17 }16 }
18}17}
1918
deletedjs-packages/playgrounds/types.xcm.tsdiffbeforeafterboth

no changes

deletedjs-packages/playgrounds/unique.dev.tsdiffbeforeafterboth

no changes

deletedjs-packages/playgrounds/unique.governance.tsdiffbeforeafterboth

no changes

deletedjs-packages/playgrounds/unique.xcm.tsdiffbeforeafterboth

no changes

addedjs-packages/scripts/authorizeEnactUpgrade.tsdiffbeforeafterboth

no changes

modifiedjs-packages/scripts/benchmarks/mintFee/index.tsdiffbeforeafterboth
1import {usingEthPlaygrounds} from '@unique/tests/eth/util/index.js';1import {usingEthPlaygrounds} from '@unique/tests/eth/util/index.js';
2import {EthUniqueHelper} from '@unique/tests/eth/util/playgrounds/unique.dev.js';2import {EthUniqueHelper} from '@unique/tests/eth/util/playgrounds/unique.dev.js';
3import {readFile} from 'fs/promises';3import {readFile} from 'fs/promises';
4import type {ICrossAccountId} from '@unique/playgrounds/types.js';4import type {ICrossAccountId} from '@unique-nft/playgrounds/types.js';
5import type {IKeyringPair} from '@polkadot/types/types';5import type {IKeyringPair} from '@polkadot/types/types';
6import {UniqueNFTCollection} from '@unique/playgrounds/unique.js';6import {UniqueNFTCollection} from '@unique-nft/playgrounds/unique.js';
7import {Contract} from 'web3-eth-contract';7import {Contract} from 'web3-eth-contract';
8import {createObjectCsvWriter} from 'csv-writer';8import {createObjectCsvWriter} from 'csv-writer';
9import {convertToTokens, createCollectionForBenchmarks, PERMISSIONS, PROPERTIES} from '../utils/common.js';9import {convertToTokens, createCollectionForBenchmarks, PERMISSIONS, PROPERTIES} from '../utils/common.js';
10import {makeNames} from '@unique/tests/util/index.js';10import {makeNames} from '@unique/test-utils/util.js';
11import type {ContractImports} from '@unique/tests/eth/util/playgrounds/types.js';11import type {ContractImports} from '@unique/tests/eth/util/playgrounds/types.js';
1212
13const {dirname} = makeNames(import.meta.url);13const {dirname} = makeNames(import.meta.url);
modifiedjs-packages/scripts/benchmarks/nesting/index.tsdiffbeforeafterboth
4import type {IKeyringPair} from '@polkadot/types/types';4import type {IKeyringPair} from '@polkadot/types/types';
5import {Contract} from 'web3-eth-contract';5import {Contract} from 'web3-eth-contract';
6import {convertToTokens} from '../utils/common.js';6import {convertToTokens} from '../utils/common.js';
7import {makeNames} from '@unique/tests/util/index.js';7import {makeNames} from '@unique/test-utils/util.js';
8import type {ContractImports} from '@unique/tests/eth/util/playgrounds/types.js';8import type {ContractImports} from '@unique/tests/eth/util/playgrounds/types.js';
9import type {RMRKNestableMintable} from './ABIGEN/index.js';9import type {RMRKNestableMintable} from './ABIGEN/index.js';
1010
modifiedjs-packages/scripts/benchmarks/opsFee/index.tsdiffbeforeafterboth
3import {readFile} from 'fs/promises';3import {readFile} from 'fs/promises';
4import {CollectionLimitField, CreateCollectionData, TokenPermissionField} from '@unique/tests/eth/util/playgrounds/types.js';4import {CollectionLimitField, CreateCollectionData, TokenPermissionField} from '@unique/tests/eth/util/playgrounds/types.js';
5import type {IKeyringPair} from '@polkadot/types/types';5import type {IKeyringPair} from '@polkadot/types/types';
6import {UniqueFTCollection, UniqueNFTCollection} from '@unique/playgrounds/unique.js';6import {UniqueFTCollection, UniqueNFTCollection} from '@unique-nft/playgrounds/unique.js';
7import {Contract} from 'web3-eth-contract';7import {Contract} from 'web3-eth-contract';
8import {createObjectCsvWriter} from 'csv-writer';8import {createObjectCsvWriter} from 'csv-writer';
9import {FunctionFeeVM} from '../utils/types.js';9import {FunctionFeeVM} from '../utils/types.js';
10import type {IFunctionFee} from '../utils/types.js';10import type {IFunctionFee} from '../utils/types.js';
11import {convertToTokens, createCollectionForBenchmarks, PERMISSIONS, PROPERTIES, SUBS_PROPERTIES} from '../utils/common.js';11import {convertToTokens, createCollectionForBenchmarks, PERMISSIONS, PROPERTIES, SUBS_PROPERTIES} from '../utils/common.js';
12import {makeNames} from '@unique/tests/util/index.js';12import {makeNames} from '@unique/test-utils/util.js';
1313
1414
15const {dirname} = makeNames(import.meta.url);15const {dirname} = makeNames(import.meta.url);
modifiedjs-packages/scripts/benchmarks/utils/common.tsdiffbeforeafterboth
1import {EthUniqueHelper} from '@unique/tests/eth/util/playgrounds/unique.dev.js';1import {EthUniqueHelper} from '@unique/tests/eth/util/playgrounds/unique.dev.js';
2import {UniqueNFTCollection, UniqueRFTCollection} from '@unique/playgrounds/unique.js';2import {UniqueNFTCollection, UniqueRFTCollection} from '@unique-nft/playgrounds/unique.js';
3import type {ITokenPropertyPermission, TCollectionMode} from '@unique/playgrounds/types.js';3import type {ITokenPropertyPermission, TCollectionMode} from '@unique-nft/playgrounds/types.js';
4import type {IKeyringPair} from '@polkadot/types/types';4import type {IKeyringPair} from '@polkadot/types/types';
55
6export const PROPERTIES = Array(40)6export const PROPERTIES = Array(40)
modifiedjs-packages/scripts/calibrateApply.tsdiffbeforeafterboth
1import {readFile, writeFile} from 'fs/promises';1import {readFile, writeFile} from 'fs/promises';
2import path from 'path';2import path from 'path';
3import {makeNames, usingPlaygrounds} from '@unique/tests/util/index.js';3import {makeNames, usingPlaygrounds} from '@unique/test-utils/util.js';
44
5const {dirname} = makeNames(import.meta.url);5const {dirname} = makeNames(import.meta.url);
66
addedjs-packages/scripts/createHrmp.tsdiffbeforeafterboth

no changes

modifiedjs-packages/scripts/generateEnv.tsdiffbeforeafterboth
1import {ApiPromise, WsProvider} from '@polkadot/api';1import {ApiPromise, WsProvider} from '@polkadot/api';
2import {readFile} from 'fs/promises';2import {readFile} from 'fs/promises';
3import {join} from 'path';3import {join} from 'path';
4import {makeNames} from '@unique/tests/util/index.js';4import {makeNames} from '@unique/test-utils/util.js';
55
6const {dirname} = makeNames(import.meta.url);6const {dirname} = makeNames(import.meta.url);
77
addedjs-packages/scripts/identitySetter.tsdiffbeforeafterboth

no changes

addedjs-packages/scripts/relayIdentitiesChecker.tsdiffbeforeafterboth

no changes

addedjs-packages/scripts/setCode.tsdiffbeforeafterboth

no changes

modifiedjs-packages/scripts/transfer.nload.tsdiffbeforeafterboth
17/* eslint-disable @typescript-eslint/no-floating-promises */17/* eslint-disable @typescript-eslint/no-floating-promises */
18import os from 'os';18import os from 'os';
19import type {IKeyringPair} from '@polkadot/types/types';19import type {IKeyringPair} from '@polkadot/types/types';
20import {usingPlaygrounds} from '@unique/tests/util/index.js';20import {usingPlaygrounds} from '@unique/test-utils/util.js';
21import {UniqueHelper} from '@unique/playgrounds/unique.js';21import {UniqueHelper} from '@unique-nft/playgrounds/unique.js';
22import * as notReallyCluster from 'cluster'; // https://github.com/nodejs/node/issues/42271#issuecomment-106341534622import * as notReallyCluster from 'cluster'; // https://github.com/nodejs/node/issues/42271#issuecomment-1063415346
23const cluster = notReallyCluster as unknown as notReallyCluster.Cluster;23const cluster = notReallyCluster as unknown as notReallyCluster.Cluster;
2424
addedjs-packages/test-utils/globalSetup.tsdiffbeforeafterboth

no changes

addedjs-packages/test-utils/governance.tsdiffbeforeafterboth

no changes

addedjs-packages/test-utils/index.tsdiffbeforeafterboth

no changes

addedjs-packages/test-utils/package.jsondiffbeforeafterboth

no changes

addedjs-packages/test-utils/util.tsdiffbeforeafterboth

no changes

addedjs-packages/test-utils/xcm/index.tsdiffbeforeafterboth

no changes

addedjs-packages/test-utils/xcm/types.tsdiffbeforeafterboth

no changes

modifiedjs-packages/tests/addCollectionAdmin.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, usingPlaygrounds, expect} from './util/index.js';18import {itSub, usingPlaygrounds, expect} from '@unique/test-utils/util.js';
19import {NON_EXISTENT_COLLECTION_ID} from '@unique/playgrounds/types.js';19import {NON_EXISTENT_COLLECTION_ID} from '@unique-nft/playgrounds/types.js';
2020
21describe('Integration Test addCollectionAdmin(collection_id, new_admin_id):', () => {21describe('Integration Test addCollectionAdmin(collection_id, new_admin_id):', () => {
22 let donor: IKeyringPair;22 let donor: IKeyringPair;
modifiedjs-packages/tests/adminTransferAndBurn.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {usingPlaygrounds, expect, itSub} from './util/index.js';18import {usingPlaygrounds, expect, itSub} from '@unique/test-utils/util.js';
1919
20describe('Integration Test: ownerCanTransfer allows admins to use only transferFrom/burnFrom:', () => {20describe('Integration Test: ownerCanTransfer allows admins to use only transferFrom/burnFrom:', () => {
21 let alice: IKeyringPair;21 let alice: IKeyringPair;
modifiedjs-packages/tests/allowLists.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {usingPlaygrounds, expect, itSub} from './util/index.js';18import {usingPlaygrounds, expect, itSub} from '@unique/test-utils/util.js';
19import type {ICollectionPermissions} from '@unique/playgrounds/types.js';19import type {ICollectionPermissions} from '@unique-nft/playgrounds/types.js';
20import {NON_EXISTENT_COLLECTION_ID} from '@unique/playgrounds/types.js';20import {NON_EXISTENT_COLLECTION_ID} from '@unique-nft/playgrounds/types.js';
2121
22describe('Integration Test ext. Allow list tests', () => {22describe('Integration Test ext. Allow list tests', () => {
23 let alice: IKeyringPair;23 let alice: IKeyringPair;
modifiedjs-packages/tests/apiConsts.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import {ApiPromise} from '@polkadot/api';17import {ApiPromise} from '@polkadot/api';
18import {usingPlaygrounds, itSub, expect, COLLECTION_HELPER, CONTRACT_HELPER} from './util/index.js';18import {usingPlaygrounds, itSub, expect, COLLECTION_HELPER, CONTRACT_HELPER} from '@unique/test-utils/util.js';
1919
2020
21const MAX_COLLECTION_DESCRIPTION_LENGTH = 256n;21const MAX_COLLECTION_DESCRIPTION_LENGTH = 256n;
modifiedjs-packages/tests/approve.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {expect, itSub, Pallets, usingPlaygrounds} from './util/index.js';18import {expect, itSub, Pallets, usingPlaygrounds} from '@unique/test-utils/util.js';
19import {CrossAccountId} from '@unique/playgrounds/unique.js';19import {CrossAccountId} from '@unique-nft/playgrounds/unique.js';
2020
2121
2222
modifiedjs-packages/tests/burnItem.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {expect, itSub, usingPlaygrounds} from './util/index.js';18import {expect, itSub, usingPlaygrounds} from '@unique/test-utils/util.js';
1919
2020
21describe('integration test: ext. burnItem():', () => {21describe('integration test: ext. burnItem():', () => {
modifiedjs-packages/tests/change-collection-owner.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {usingPlaygrounds, expect, itSub} from './util/index.js';18import {usingPlaygrounds, expect, itSub} from '@unique/test-utils/util.js';
19import {NON_EXISTENT_COLLECTION_ID} from '@unique/playgrounds/types.js';19import {NON_EXISTENT_COLLECTION_ID} from '@unique-nft/playgrounds/types.js';
2020
21describe('Integration Test changeCollectionOwner(collection_id, new_owner):', () => {21describe('Integration Test changeCollectionOwner(collection_id, new_owner):', () => {
22 let alice: IKeyringPair;22 let alice: IKeyringPair;
modifiedjs-packages/tests/confirmSponsorship.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {usingPlaygrounds, expect, itSub, Pallets} from './util/index.js';18import {usingPlaygrounds, expect, itSub, Pallets} from '@unique/test-utils/util.js';
19import {NON_EXISTENT_COLLECTION_ID} from '@unique/playgrounds/types.js';19import {NON_EXISTENT_COLLECTION_ID} from '@unique-nft/playgrounds/types.js';
2020
21async function setSponsorHelper(collection: any, signer: IKeyringPair, sponsorAddress: string) {21async function setSponsorHelper(collection: any, signer: IKeyringPair, sponsorAddress: string) {
22 await collection.setSponsor(signer, sponsorAddress);22 await collection.setSponsor(signer, sponsorAddress);
modifiedjs-packages/tests/connection.test.tsdiffbeforeafterboth
14// You should have received a copy of the GNU General Public License14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import {itSub, expect, usingPlaygrounds} from './util/index.js';17import {itSub, expect, usingPlaygrounds} from '@unique/test-utils/util.js';
1818
19describe('Connection smoke test', () => {19describe('Connection smoke test', () => {
20 itSub('Connection can be established', async ({helper}) => {20 itSub('Connection can be established', async ({helper}) => {
modifiedjs-packages/tests/createCollection.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {usingPlaygrounds, expect, itSub, Pallets} from './util/index.js';18import {usingPlaygrounds, expect, itSub, Pallets} from '@unique/test-utils/util.js';
19import {CollectionFlag} from '@unique/playgrounds/types.js';19import {CollectionFlag} from '@unique-nft/playgrounds/types.js';
20import type {ICollectionCreationOptions, IProperty} from '@unique/playgrounds/types.js';20import type {ICollectionCreationOptions, IProperty} from '@unique-nft/playgrounds/types.js';
21import {UniqueHelper} from '@unique/playgrounds/unique.js';21import {UniqueHelper} from '@unique-nft/playgrounds/unique.js';
2222
23async function mintCollectionHelper(helper: UniqueHelper, signer: IKeyringPair, options: ICollectionCreationOptions, type?: 'nft' | 'fungible' | 'refungible') {23async function mintCollectionHelper(helper: UniqueHelper, signer: IKeyringPair, options: ICollectionCreationOptions, type?: 'nft' | 'fungible' | 'refungible') {
24 let collection;24 let collection;
modifiedjs-packages/tests/createItem.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {usingPlaygrounds, expect, itSub, Pallets} from './util/index.js';18import {usingPlaygrounds, expect, itSub, Pallets} from '@unique/test-utils/util.js';
19import type {IProperty, ICrossAccountId} from '@unique/playgrounds/types.js';19import type {IProperty, ICrossAccountId} from '@unique-nft/playgrounds/types.js';
20import {UniqueHelper} from '@unique/playgrounds/unique.js';20import {UniqueHelper} from '@unique-nft/playgrounds/unique.js';
2121
22async function mintTokenHelper(helper: UniqueHelper, collection: any, signer: IKeyringPair, owner: ICrossAccountId, type: 'nft' | 'fungible' | 'refungible'='nft', properties?: IProperty[]) {22async function mintTokenHelper(helper: UniqueHelper, collection: any, signer: IKeyringPair, owner: ICrossAccountId, type: 'nft' | 'fungible' | 'refungible'='nft', properties?: IProperty[]) {
23 let token;23 let token;
modifiedjs-packages/tests/createMultipleItems.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {usingPlaygrounds, expect, Pallets, itSub} from './util/index.js';18import {usingPlaygrounds, expect, Pallets, itSub} from '@unique/test-utils/util.js';
1919
20describe('Integration Test createMultipleItems(collection_id, owner, items_data):', () => {20describe('Integration Test createMultipleItems(collection_id, owner, items_data):', () => {
21 let alice: IKeyringPair;21 let alice: IKeyringPair;
modifiedjs-packages/tests/createMultipleItemsEx.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {usingPlaygrounds, expect, Pallets, itSub} from './util/index.js';18import {usingPlaygrounds, expect, Pallets, itSub} from '@unique/test-utils/util.js';
19import type {IProperty} from '@unique/playgrounds/types.js';19import type {IProperty} from '@unique-nft/playgrounds/types.js';
2020
21describe('Integration Test: createMultipleItemsEx', () => {21describe('Integration Test: createMultipleItemsEx', () => {
22 let alice: IKeyringPair;22 let alice: IKeyringPair;
modifiedjs-packages/tests/creditFeesToTreasury.seqtest.tsdiffbeforeafterboth
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {ApiPromise} from '@polkadot/api';18import {ApiPromise} from '@polkadot/api';
19import {usingPlaygrounds, expect, itSub} from './util/index.js';19import {usingPlaygrounds, expect, itSub} from '@unique/test-utils/util.js';
20import type {u32} from '@polkadot/types-codec';20import type {u32} from '@polkadot/types-codec';
2121
22const TREASURY = '5EYCAe5ijiYfyeZ2JJCGq56LmPyNRAKzpG4QkoQkkQNB5e6Z';22const TREASURY = '5EYCAe5ijiYfyeZ2JJCGq56LmPyNRAKzpG4QkoQkkQNB5e6Z';
modifiedjs-packages/tests/destroyCollection.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, expect, usingPlaygrounds, Pallets} from './util/index.js';18import {itSub, expect, usingPlaygrounds, Pallets} from '@unique/test-utils/util.js';
1919
20describe('integration test: ext. destroyCollection():', () => {20describe('integration test: ext. destroyCollection():', () => {
21 let alice: IKeyringPair;21 let alice: IKeyringPair;
modifiedjs-packages/tests/enableDisableTransfer.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, usingPlaygrounds, expect} from './util/index.js';18import {itSub, usingPlaygrounds, expect} from '@unique/test-utils/util.js';
1919
20describe('Enable/Disable Transfers', () => {20describe('Enable/Disable Transfers', () => {
21 let alice: IKeyringPair;21 let alice: IKeyringPair;
modifiedjs-packages/tests/eth/allowlist.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {Pallets} from '../util/index.js';18import {Pallets} from '@unique/test-utils/util.js';
19import {itEth, usingEthPlaygrounds, expect, SponsoringMode} from './util/index.js';19import {itEth, usingEthPlaygrounds, expect, SponsoringMode} from './util/index.js';
20import {CreateCollectionData} from './util/playgrounds/types.js';20import {CreateCollectionData} from './util/playgrounds/types.js';
2121
modifiedjs-packages/tests/eth/collectionAdmin.test.tsdiffbeforeafterboth
1515
16import type {IKeyringPair} from '@polkadot/types/types';16import type {IKeyringPair} from '@polkadot/types/types';
17import {expect} from 'chai';17import {expect} from 'chai';
18import {Pallets} from '../util/index.js';18import {Pallets} from '@unique/test-utils/util.js';
19import type {IEthCrossAccountId} from '@unique/playgrounds/types.js';19import type {IEthCrossAccountId} from '@unique-nft/playgrounds/types.js';
20import {usingEthPlaygrounds, itEth} from './util/index.js';20import {usingEthPlaygrounds, itEth} from './util/index.js';
21import {EthUniqueHelper} from './util/playgrounds/unique.dev.js';21import {EthUniqueHelper} from './util/playgrounds/unique.dev.js';
22import {CreateCollectionData} from './util/playgrounds/types.js';22import {CreateCollectionData} from './util/playgrounds/types.js';
modifiedjs-packages/tests/eth/collectionHelperAddress.test.tsdiffbeforeafterboth
1616
17import {itEth, usingEthPlaygrounds, expect} from './util/index.js';17import {itEth, usingEthPlaygrounds, expect} from './util/index.js';
18import type {IKeyringPair} from '@polkadot/types/types';18import type {IKeyringPair} from '@polkadot/types/types';
19import {COLLECTION_HELPER, Pallets} from '../util/index.js';19import {COLLECTION_HELPER, Pallets} from '@unique/test-utils/util.js';
2020
21describe('[eth]CollectionHelperAddress test: ERC20/ERC721 ', () => {21describe('[eth]CollectionHelperAddress test: ERC20/ERC721 ', () => {
22 let donor: IKeyringPair;22 let donor: IKeyringPair;
modifiedjs-packages/tests/eth/collectionLimits.test.tsdiffbeforeafterboth
1import type {IKeyringPair} from '@polkadot/types/types';1import type {IKeyringPair} from '@polkadot/types/types';
2import {Pallets} from '../util/index.js';2import {Pallets} from '@unique/test-utils/util.js';
3import {expect, itEth, usingEthPlaygrounds} from './util/index.js';3import {expect, itEth, usingEthPlaygrounds} from './util/index.js';
4import {CollectionLimitField, CreateCollectionData} from './util/playgrounds/types.js';4import {CollectionLimitField, CreateCollectionData} from './util/playgrounds/types.js';
55
modifiedjs-packages/tests/eth/collectionProperties.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import {itEth, usingEthPlaygrounds, expect} from './util/index.js';17import {itEth, usingEthPlaygrounds, expect} from './util/index.js';
18import {Pallets} from '../util/index.js';18import {Pallets} from '@unique/test-utils/util.js';
19import type {IProperty, ITokenPropertyPermission} from '@unique/playgrounds/types.js';19import type {IProperty, ITokenPropertyPermission} from '@unique-nft/playgrounds/types.js';
20import type {IKeyringPair} from '@polkadot/types/types';20import type {IKeyringPair} from '@polkadot/types/types';
2121
22describe('EVM collection properties', () => {22describe('EVM collection properties', () => {
modifiedjs-packages/tests/eth/collectionSponsoring.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {Pallets, requirePalletsOrSkip, usingPlaygrounds} from '../util/index.js';18import {Pallets, requirePalletsOrSkip, usingPlaygrounds} from '@unique/test-utils/util.js';
19import {itEth, expect} from './util/index.js';19import {itEth, expect} from './util/index.js';
20import {CollectionLimitField, TokenPermissionField} from './util/playgrounds/types.js';20import {CollectionLimitField, TokenPermissionField} from './util/playgrounds/types.js';
2121
modifiedjs-packages/tests/eth/contractSponsoring.test.tsdiffbeforeafterboth
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {EthUniqueHelper} from './util/playgrounds/unique.dev.js';18import {EthUniqueHelper} from './util/playgrounds/unique.dev.js';
19import {itEth, expect, SponsoringMode, usingEthPlaygrounds} from './util/index.js';19import {itEth, expect, SponsoringMode, usingEthPlaygrounds} from './util/index.js';
20import {usingPlaygrounds} from '../util/index.js';20import {usingPlaygrounds} from '@unique/test-utils/util.js';
21import type {CompiledContract} from './util/playgrounds/types.js';21import type {CompiledContract} from './util/playgrounds/types.js';
2222
23describe('Sponsoring EVM contracts', () => {23describe('Sponsoring EVM contracts', () => {
modifiedjs-packages/tests/eth/createCollection.test.tsdiffbeforeafterboth
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {evmToAddress} from '@polkadot/util-crypto';18import {evmToAddress} from '@polkadot/util-crypto';
19import {Pallets, requirePalletsOrSkip} from '../util/index.js';19import {Pallets, requirePalletsOrSkip} from '@unique/test-utils/util.js';
20import {expect, itEth, usingEthPlaygrounds} from './util/index.js';20import {expect, itEth, usingEthPlaygrounds} from './util/index.js';
21import {CREATE_COLLECTION_DATA_DEFAULTS, CollectionLimitField, CollectionMode, CreateCollectionData, TokenPermissionField, emptyAddress} from './util/playgrounds/types.js';21import {CREATE_COLLECTION_DATA_DEFAULTS, CollectionLimitField, CollectionMode, CreateCollectionData, TokenPermissionField, emptyAddress} from './util/playgrounds/types.js';
22import {CollectionFlag} from '@unique/playgrounds/types.js';22import {CollectionFlag} from '@unique-nft/playgrounds/types.js';
23import type {IEthCrossAccountId, TCollectionMode} from '@unique/playgrounds/types.js';23import type {IEthCrossAccountId, TCollectionMode} from '@unique-nft/playgrounds/types.js';
2424
25const DECIMALS = 18;25const DECIMALS = 18;
26const CREATE_COLLECTION_DATA_DEFAULTS_ARRAY = [26const CREATE_COLLECTION_DATA_DEFAULTS_ARRAY = [
modifiedjs-packages/tests/eth/createFTCollection.seqtest.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {Pallets, requirePalletsOrSkip} from '../util/index.js';18import {Pallets, requirePalletsOrSkip} from '@unique/test-utils/util.js';
19import {expect, itEth, usingEthPlaygrounds} from './util/index.js';19import {expect, itEth, usingEthPlaygrounds} from './util/index.js';
2020
21const DECIMALS = 18;21const DECIMALS = 18;
modifiedjs-packages/tests/eth/createFTCollection.test.tsdiffbeforeafterboth
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {evmToAddress} from '@polkadot/util-crypto';18import {evmToAddress} from '@polkadot/util-crypto';
19import {Pallets, requirePalletsOrSkip} from '../util/index.js';19import {Pallets, requirePalletsOrSkip} from '@unique/test-utils/util.js';
20import {expect, itEth, usingEthPlaygrounds} from './util/index.js';20import {expect, itEth, usingEthPlaygrounds} from './util/index.js';
21import {CollectionLimitField} from './util/playgrounds/types.js';21import {CollectionLimitField} from './util/playgrounds/types.js';
2222
modifiedjs-packages/tests/eth/createRFTCollection.test.tsdiffbeforeafterboth
1616
17import {evmToAddress} from '@polkadot/util-crypto';17import {evmToAddress} from '@polkadot/util-crypto';
18import type {IKeyringPair} from '@polkadot/types/types';18import type {IKeyringPair} from '@polkadot/types/types';
19import {Pallets, requirePalletsOrSkip} from '../util/index.js';19import {Pallets, requirePalletsOrSkip} from '@unique/test-utils/util.js';
20import {expect, itEth, usingEthPlaygrounds} from './util/index.js';20import {expect, itEth, usingEthPlaygrounds} from './util/index.js';
21import {CollectionLimitField} from './util/playgrounds/types.js';21import {CollectionLimitField} from './util/playgrounds/types.js';
2222
modifiedjs-packages/tests/eth/crossTransfer.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import {itEth, usingEthPlaygrounds} from './util/index.js';17import {itEth, usingEthPlaygrounds} from './util/index.js';
18import {CrossAccountId} from '@unique/playgrounds/unique.js';18import {CrossAccountId} from '@unique-nft/playgrounds/unique.js';
19import type {IKeyringPair} from '@polkadot/types/types';19import type {IKeyringPair} from '@polkadot/types/types';
2020
21describe('Token transfer between substrate address and EVM address. Fungible', () => {21describe('Token transfer between substrate address and EVM address. Fungible', () => {
modifiedjs-packages/tests/eth/destroyCollection.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {Pallets} from '../util/index.js';18import {Pallets} from '@unique/test-utils/util.js';
19import {expect, itEth, usingEthPlaygrounds} from './util/index.js';19import {expect, itEth, usingEthPlaygrounds} from './util/index.js';
20import type {TCollectionMode} from '@unique/playgrounds/types.js';20import type {TCollectionMode} from '@unique-nft/playgrounds/types.js';
21import {CreateCollectionData} from './util/playgrounds/types.js';21import {CreateCollectionData} from './util/playgrounds/types.js';
2222
23describe('Destroy Collection from EVM', function() {23describe('Destroy Collection from EVM', function() {
modifiedjs-packages/tests/eth/events.test.tsdiffbeforeafterboth
18import type {IKeyringPair} from '@polkadot/types/types';18import type {IKeyringPair} from '@polkadot/types/types';
19import {itEth, usingEthPlaygrounds} from './util/index.js';19import {itEth, usingEthPlaygrounds} from './util/index.js';
20import {EthUniqueHelper} from './util/playgrounds/unique.dev.js';20import {EthUniqueHelper} from './util/playgrounds/unique.dev.js';
21import type {IEvent, TCollectionMode} from '@unique/playgrounds/types.js';21import type {IEvent, TCollectionMode} from '@unique-nft/playgrounds/types.js';
22import {Pallets, requirePalletsOrSkip} from '../util/index.js';22import {Pallets, requirePalletsOrSkip} from '@unique/test-utils/util.js';
23import {CollectionLimitField, TokenPermissionField, CreateCollectionData} from './util/playgrounds/types.js';23import {CollectionLimitField, TokenPermissionField, CreateCollectionData} from './util/playgrounds/types.js';
24import type {NormalizedEvent} from './util/playgrounds/types.js';24import type {NormalizedEvent} from './util/playgrounds/types.js';
2525
modifiedjs-packages/tests/eth/fractionalizer/fractionalizer.test.tsdiffbeforeafterboth
25import {usingEthPlaygrounds, expect, itEth} from '../util/index.js';25import {usingEthPlaygrounds, expect, itEth} from '../util/index.js';
26import {EthUniqueHelper} from '../util/playgrounds/unique.dev.js';26import {EthUniqueHelper} from '../util/playgrounds/unique.dev.js';
27import type {CompiledContract} from '../util/playgrounds/types.js';27import type {CompiledContract} from '../util/playgrounds/types.js';
28import {requirePalletsOrSkip, Pallets, makeNames} from '../../util/index.js';28import {requirePalletsOrSkip, Pallets, makeNames} from '@unique/test-utils/util.js';
2929
30const {dirname} = makeNames(import.meta.url);30const {dirname} = makeNames(import.meta.url);
3131
modifiedjs-packages/tests/eth/getCode.test.tsdiffbeforeafterboth
1616
17import {expect, itEth, usingEthPlaygrounds} from './util/index.js';17import {expect, itEth, usingEthPlaygrounds} from './util/index.js';
18import type {IKeyringPair} from '@polkadot/types/types';18import type {IKeyringPair} from '@polkadot/types/types';
19import {COLLECTION_HELPER, CONTRACT_HELPER} from '../util/index.js';19import {COLLECTION_HELPER, CONTRACT_HELPER} from '@unique/test-utils/util.js';
2020
21describe('RPC eth_getCode', () => {21describe('RPC eth_getCode', () => {
22 let donor: IKeyringPair;22 let donor: IKeyringPair;
modifiedjs-packages/tests/eth/marketplace-v2/marketplace.test.tsdiffbeforeafterboth
19import {readFile} from 'fs/promises';19import {readFile} from 'fs/promises';
20import {SponsoringMode, itEth, usingEthPlaygrounds} from '../util/index.js';20import {SponsoringMode, itEth, usingEthPlaygrounds} from '../util/index.js';
21import {EthUniqueHelper} from '../util/playgrounds/unique.dev.js';21import {EthUniqueHelper} from '../util/playgrounds/unique.dev.js';
22import {makeNames} from '../../util/index.js';22import {makeNames, expect} from '@unique/test-utils/util.js';
23import {expect} from 'chai';
2423
25const {dirname} = makeNames(import.meta.url);24const {dirname} = makeNames(import.meta.url);
2625
modifiedjs-packages/tests/eth/marketplace/marketplace.test.tsdiffbeforeafterboth
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {readFile} from 'fs/promises';18import {readFile} from 'fs/promises';
19import {itEth, usingEthPlaygrounds, expect, SponsoringMode} from '../util/index.js';19import {itEth, usingEthPlaygrounds, expect, SponsoringMode} from '../util/index.js';
20import {makeNames} from '../../util/index.js';20import {makeNames} from '@unique/test-utils/util.js';
2121
22const {dirname} = makeNames(import.meta.url);22const {dirname} = makeNames(import.meta.url);
2323
modifiedjs-packages/tests/eth/migration.seqtest.tsdiffbeforeafterboth
18import type {IKeyringPair} from '@polkadot/types/types';18import type {IKeyringPair} from '@polkadot/types/types';
19import {Struct} from '@polkadot/types';19import {Struct} from '@polkadot/types';
2020
21import type {IEvent} from '@unique/playgrounds/types.js';21import type {IEvent} from '@unique-nft/playgrounds/types.js';
22import type {InterfaceTypes} from '@polkadot/types/types/registry';22import type {InterfaceTypes} from '@polkadot/types/types/registry';
23import {ApiPromise} from '@polkadot/api';23import {ApiPromise} from '@polkadot/api';
2424
modifiedjs-packages/tests/eth/nativeFungible.test.tsdiffbeforeafterboth
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {expect, itEth, usingEthPlaygrounds} from './util/index.js';18import {expect, itEth, usingEthPlaygrounds} from './util/index.js';
19import {UniqueHelper} from '@unique/playgrounds/unique.js';19import {UniqueHelper} from '@unique-nft/playgrounds/unique.js';
2020
21describe('NativeFungible: ERC20 calls', () => {21describe('NativeFungible: ERC20 calls', () => {
22 let donor: IKeyringPair;22 let donor: IKeyringPair;
modifiedjs-packages/tests/eth/nonFungible.test.tsdiffbeforeafterboth
18import {EthUniqueHelper} from './util/playgrounds/unique.dev.js';18import {EthUniqueHelper} from './util/playgrounds/unique.dev.js';
19import type {IKeyringPair} from '@polkadot/types/types';19import type {IKeyringPair} from '@polkadot/types/types';
20import {Contract} from 'web3-eth-contract';20import {Contract} from 'web3-eth-contract';
21import type {ITokenPropertyPermission} from '@unique/playgrounds/types.js';21import type {ITokenPropertyPermission} from '@unique-nft/playgrounds/types.js';
22import {CREATE_COLLECTION_DATA_DEFAULTS, TokenPermissionField} from './util/playgrounds/types.js';22import {CREATE_COLLECTION_DATA_DEFAULTS, TokenPermissionField} from './util/playgrounds/types.js';
2323
24describe('Check ERC721 token URI for NFT', () => {24describe('Check ERC721 token URI for NFT', () => {
modifiedjs-packages/tests/eth/payable.test.tsdiffbeforeafterboth
1818
19import {itEth, expect, usingEthPlaygrounds} from './util/index.js';19import {itEth, expect, usingEthPlaygrounds} from './util/index.js';
20import {EthUniqueHelper} from './util/playgrounds/unique.dev.js';20import {EthUniqueHelper} from './util/playgrounds/unique.dev.js';
21import {makeNames} from '../util/index.js';21import {makeNames} from '@unique/test-utils/util.js';
2222
23const {dirname} = makeNames(import.meta.url);23const {dirname} = makeNames(import.meta.url);
2424
modifiedjs-packages/tests/eth/proxy/fungibleProxy.test.tsdiffbeforeafterboth
19import type {IKeyringPair} from '@polkadot/types/types';19import type {IKeyringPair} from '@polkadot/types/types';
20import {itEth, usingEthPlaygrounds} from '../util/index.js';20import {itEth, usingEthPlaygrounds} from '../util/index.js';
21import {EthUniqueHelper} from '../util/playgrounds/unique.dev.js';21import {EthUniqueHelper} from '../util/playgrounds/unique.dev.js';
22import {makeNames} from '../../util/index.js';22import {makeNames} from '@unique/test-utils/util.js';
2323
24const {dirname} = makeNames(import.meta.url);24const {dirname} = makeNames(import.meta.url);
2525
modifiedjs-packages/tests/eth/proxy/nonFungibleProxy.test.tsdiffbeforeafterboth
18import type {IKeyringPair} from '@polkadot/types/types';18import type {IKeyringPair} from '@polkadot/types/types';
19import {itEth, usingEthPlaygrounds, expect} from '../util/index.js';19import {itEth, usingEthPlaygrounds, expect} from '../util/index.js';
20import {EthUniqueHelper} from '../util/playgrounds/unique.dev.js';20import {EthUniqueHelper} from '../util/playgrounds/unique.dev.js';
21import {makeNames} from '../../util/index.js';21import {makeNames} from '@unique/test-utils/util.js';
2222
23const {dirname} = makeNames(import.meta.url);23const {dirname} = makeNames(import.meta.url);
2424
modifiedjs-packages/tests/eth/reFungible.test.tsdiffbeforeafterboth
14// You should have received a copy of the GNU General Public License14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import {Pallets, requirePalletsOrSkip} from '../util/index.js';17import {Pallets, requirePalletsOrSkip} from '@unique/test-utils/util.js';
18import {expect, itEth, usingEthPlaygrounds} from './util/index.js';18import {expect, itEth, usingEthPlaygrounds} from './util/index.js';
19import type {IKeyringPair} from '@polkadot/types/types';19import type {IKeyringPair} from '@polkadot/types/types';
20import type {ITokenPropertyPermission} from '@unique/playgrounds/types.js';20import type {ITokenPropertyPermission} from '@unique-nft/playgrounds/types.js';
21import {CREATE_COLLECTION_DATA_DEFAULTS, TokenPermissionField} from './util/playgrounds/types.js';21import {CREATE_COLLECTION_DATA_DEFAULTS, TokenPermissionField} from './util/playgrounds/types.js';
2222
23describe('Refungible: Plain calls', () => {23describe('Refungible: Plain calls', () => {
modifiedjs-packages/tests/eth/reFungibleToken.test.tsdiffbeforeafterboth
14// You should have received a copy of the GNU General Public License14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import {Pallets, requirePalletsOrSkip} from '../util/index.js';17import {Pallets, requirePalletsOrSkip} from '@unique/test-utils/util.js';
18import {expect, itEth, usingEthPlaygrounds} from './util/index.js';18import {expect, itEth, usingEthPlaygrounds} from './util/index.js';
19import {EthUniqueHelper} from './util/playgrounds/unique.dev.js';19import {EthUniqueHelper} from './util/playgrounds/unique.dev.js';
20import type {IKeyringPair} from '@polkadot/types/types';20import type {IKeyringPair} from '@polkadot/types/types';
modifiedjs-packages/tests/eth/scheduling.test.tsdiffbeforeafterboth
17import {expect} from 'chai';17import {expect} from 'chai';
18import {itSchedEth} from './util/index.js';18import {itSchedEth} from './util/index.js';
19import {EthUniqueHelper} from './util/playgrounds/unique.dev.js';19import {EthUniqueHelper} from './util/playgrounds/unique.dev.js';
20import {Pallets, usingPlaygrounds} from '../util/index.js';20import {Pallets, usingPlaygrounds} from '@unique/test-utils/util.js';
2121
22describe('Scheduing EVM smart contracts', () => {22describe('Scheduing EVM smart contracts', () => {
2323
modifiedjs-packages/tests/eth/sponsoring.test.tsdiffbeforeafterboth
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itEth, expect, SponsoringMode} from './util/index.js';18import {itEth, expect, SponsoringMode} from './util/index.js';
19import {usingPlaygrounds} from '../util/index.js';19import {usingPlaygrounds} from '@unique/test-utils/util.js';
2020
21describe('EVM sponsoring', () => {21describe('EVM sponsoring', () => {
22 let donor: IKeyringPair;22 let donor: IKeyringPair;
modifiedjs-packages/tests/eth/tokenProperties.test.tsdiffbeforeafterboth
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {Contract} from 'web3-eth-contract';18import {Contract} from 'web3-eth-contract';
19import {itEth, usingEthPlaygrounds, expect} from './util/index.js';19import {itEth, usingEthPlaygrounds, expect} from './util/index.js';
20import type {ITokenPropertyPermission} from '@unique/playgrounds/types.js';20import type {ITokenPropertyPermission} from '@unique-nft/playgrounds/types.js';
21import {Pallets} from '../util/index.js';21import {Pallets} from '@unique/test-utils/util.js';
22import {UniqueNFTCollection, UniqueNFToken, UniqueRFTCollection} from '@unique/playgrounds/unique.js';22import {UniqueNFTCollection, UniqueNFToken, UniqueRFTCollection} from '@unique-nft/playgrounds/unique.js';
23import {CreateCollectionData, TokenPermissionField} from './util/playgrounds/types.js';23import {CreateCollectionData, TokenPermissionField} from './util/playgrounds/types.js';
2424
25describe('EVM token properties', () => {25describe('EVM token properties', () => {
modifiedjs-packages/tests/eth/tokens/callMethodsERC20.test.tsdiffbeforeafterboth
14// You should have received a copy of the GNU General Public License14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import {Pallets, requirePalletsOrSkip} from '../../util/index.js';17import {Pallets, requirePalletsOrSkip} from '@unique/test-utils/util.js';
18import {expect, itEth, usingEthPlaygrounds} from '../util/index.js';18import {expect, itEth, usingEthPlaygrounds} from '../util/index.js';
19import type {IKeyringPair} from '@polkadot/types/types';19import type {IKeyringPair} from '@polkadot/types/types';
20import {CreateCollectionData} from '../util/playgrounds/types.js';20import {CreateCollectionData} from '../util/playgrounds/types.js';
modifiedjs-packages/tests/eth/tokens/callMethodsERC721.test.tsdiffbeforeafterboth
14// You should have received a copy of the GNU General Public License14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import {Pallets} from '../../util/index.js';17import {Pallets} from '@unique/test-utils/util.js';
18import {expect, itEth, usingEthPlaygrounds} from '../util/index.js';18import {expect, itEth, usingEthPlaygrounds} from '../util/index.js';
19import type {IKeyringPair} from '@polkadot/types/types';19import type {IKeyringPair} from '@polkadot/types/types';
20import {CreateCollectionData} from '../util/playgrounds/types.js';20import {CreateCollectionData} from '../util/playgrounds/types.js';
modifiedjs-packages/tests/eth/tokens/minting.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {Pallets} from '../../util/index.js';18import {Pallets} from '@unique/test-utils/util.js';
19import {expect, itEth, usingEthPlaygrounds} from '../util/index.js';19import {expect, itEth, usingEthPlaygrounds} from '../util/index.js';
20import {CreateCollectionData} from '../util/playgrounds/types.js';20import {CreateCollectionData} from '../util/playgrounds/types.js';
2121
modifiedjs-packages/tests/eth/util/index.tsdiffbeforeafterboth
7import config from '../../config.js';7import config from '../../config.js';
88
9import {EthUniqueHelper} from './playgrounds/unique.dev.js';9import {EthUniqueHelper} from './playgrounds/unique.dev.js';
10import {SilentLogger, SilentConsole} from '@unique/playgrounds/unique.dev.js';10import {SilentLogger, SilentConsole} from '@unique/test-utils';
11import {makeNames} from '../../util/index.js';
12import type {SchedKind} from '../../util/index.js';11import type {SchedKind} from '@unique/test-utils/util.js';
1312
14import chai from 'chai';13import chai from 'chai';
15import chaiAsPromised from 'chai-as-promised';14import chaiAsPromised from 'chai-as-promised';
16import chaiLike from 'chai-like';15import chaiLike from 'chai-like';
17import {getTestSeed, MINIMUM_DONOR_FUND, requirePalletsOrSkip} from '../../util/index.js';16import {getTestSeed, MINIMUM_DONOR_FUND, requirePalletsOrSkip, makeNames} from '@unique/test-utils/util.js';
1817
19chai.use(chaiAsPromised);18chai.use(chaiAsPromised);
20chai.use(chaiLike);19chai.use(chaiLike);
modifiedjs-packages/tests/eth/util/playgrounds/types.tsdiffbeforeafterboth
1import {CollectionFlag} from '@unique/playgrounds/types.js';1import {CollectionFlag} from '@unique-nft/playgrounds/types.js';
2import type {TCollectionMode} from '@unique/playgrounds/types.js';2import type {TCollectionMode} from '@unique-nft/playgrounds/types.js';
33
4export interface ContractImports {4export interface ContractImports {
5 solPath: string;5 solPath: string;
modifiedjs-packages/tests/eth/util/playgrounds/unique.dev.tsdiffbeforeafterboth
15import {evmToAddress} from '@polkadot/util-crypto';15import {evmToAddress} from '@polkadot/util-crypto';
16import type {IKeyringPair} from '@polkadot/types/types';16import type {IKeyringPair} from '@polkadot/types/types';
1717
18import {ArrangeGroup, DevUniqueHelper} from '@unique/playgrounds/unique.dev.js';18import {ArrangeGroup, DevUniqueHelper} from '@unique/test-utils/index.js';
1919
20import type {ContractImports, CompiledContract, CrossAddress, NormalizedEvent, EthProperty} from './types.js';20import type {ContractImports, CompiledContract, CrossAddress, NormalizedEvent, EthProperty} from './types.js';
21import {CollectionMode, CreateCollectionData} from './types.js';21import {CollectionMode, CreateCollectionData} from './types.js';
32import refungibleTokenAbi from '../../abi/reFungibleToken.json' assert {type: 'json'};32import refungibleTokenAbi from '../../abi/reFungibleToken.json' assert {type: 'json'};
33import refungibleTokenDeprecatedAbi from '../../abi/reFungibleTokenDeprecated.json' assert {type: 'json'};33import refungibleTokenDeprecatedAbi from '../../abi/reFungibleTokenDeprecated.json' assert {type: 'json'};
34import contractHelpersAbi from '../../abi/contractHelpers.json' assert {type: 'json'};34import contractHelpersAbi from '../../abi/contractHelpers.json' assert {type: 'json'};
35import type {ICrossAccountId, TEthereumAccount, TCollectionMode} from '@unique/playgrounds/types.js';35import type {ICrossAccountId, TEthereumAccount, TCollectionMode} from '@unique-nft/playgrounds/types.js';
3636
37class EthGroupBase {37class EthGroupBase {
38 helper: EthUniqueHelper;38 helper: EthUniqueHelper;
modifiedjs-packages/tests/fungible.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, usingPlaygrounds, expect, requirePalletsOrSkip, Pallets} from './util/index.js';18import {itSub, usingPlaygrounds, expect, requirePalletsOrSkip, Pallets} from '@unique/test-utils/util.js';
1919
20const U128_MAX = (1n << 128n) - 1n;20const U128_MAX = (1n << 128n) - 1n;
2121
modifiedjs-packages/tests/getPropertiesRpc.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, usingPlaygrounds, expect} from './util/index.js';18import {itSub, usingPlaygrounds, expect} from '@unique/test-utils/util.js';
19import {UniqueHelper, UniqueNFTCollection} from '@unique/playgrounds/unique.js';19import {UniqueHelper, UniqueNFTCollection} from '@unique-nft/playgrounds/unique.js';
2020
21const collectionProps = [21const collectionProps = [
22 {key: 'col-0', value: 'col-0-value'},22 {key: 'col-0', value: 'col-0-value'},
modifiedjs-packages/tests/inflation.seqtest.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {expect, itSub, usingPlaygrounds} from './util/index.js';18import {expect, itSub, usingPlaygrounds} from '@unique/test-utils/util.js';
1919
20const TREASURY = '5EYCAe5ijiYfyeZ2JJCGq56LmPyNRAKzpG4QkoQkkQNB5e6Z';20const TREASURY = '5EYCAe5ijiYfyeZ2JJCGq56LmPyNRAKzpG4QkoQkkQNB5e6Z';
2121
modifiedjs-packages/tests/limits.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {expect, itSub, Pallets, requirePalletsOrSkip, usingPlaygrounds} from './util/index.js';18import {expect, itSub, Pallets, requirePalletsOrSkip, usingPlaygrounds} from '@unique/test-utils/util.js';
1919
20describe('Number of tokens per address (NFT)', () => {20describe('Number of tokens per address (NFT)', () => {
21 let alice: IKeyringPair;21 let alice: IKeyringPair;
modifiedjs-packages/tests/maintenance.seqtest.tsdiffbeforeafterboth
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {ApiPromise} from '@polkadot/api';18import {ApiPromise} from '@polkadot/api';
19import {expect, itSched, itSub, Pallets, requirePalletsOrSkip, usingPlaygrounds} from './util/index.js';19import {expect, itSched, itSub, Pallets, requirePalletsOrSkip, usingPlaygrounds} from '@unique/test-utils/util.js';
20import {itEth} from './eth/util/index.js';20import {itEth} from './eth/util/index.js';
21import {main as correctState} from './migrations/correctStateAfterMaintenance.js';21import {main as correctState} from './migrations/correctStateAfterMaintenance.js';
22import type {PalletBalancesIdAmount} from '@polkadot/types/lookup';22import type {PalletBalancesIdAmount} from '@polkadot/types/lookup';
modifiedjs-packages/tests/migrations/942057-appPromotion/index.tsdiffbeforeafterboth
1import type {Migration} from '../../util/frankensteinMigrate.js';1import type {Migration} from '../index.js';
2import {collectData} from './collectData.js';2import {collectData} from './collectData.js';
3import {migrateLockedToFreeze} from './lockedToFreeze.js';3import {migrateLockedToFreeze} from './lockedToFreeze.js';
44
modifiedjs-packages/tests/migrations/942057-appPromotion/lockedToFreeze.tsdiffbeforeafterboth
1// import { usingApi, privateKey, onlySign } from "./../../load/lib";1// import { usingApi, privateKey, onlySign } from "./../../load/lib";
2import * as fs from 'fs';2import * as fs from 'fs';
3import {usingPlaygrounds} from '../../util/index.js';3import {usingPlaygrounds} from '@unique/test-utils/util.js';
4import path, {dirname} from 'path';4import path, {dirname} from 'path';
5import {isInteger, parse} from 'lossless-json';5import {isInteger, parse} from 'lossless-json';
6import {fileURLToPath} from 'url';6import {fileURLToPath} from 'url';
modifiedjs-packages/tests/migrations/correctStateAfterMaintenance.tsdiffbeforeafterboth
1import config from '../config.js';1import config from '../config.js';
2import {usingPlaygrounds} from '../util/index.js';2import {usingPlaygrounds} from '@unique/test-utils/util.js';
3import type {u32} from '@polkadot/types-codec';3import type {u32} from '@polkadot/types-codec';
44
5const WS_ENDPOINT = config.substrateUrl;5const WS_ENDPOINT = config.substrateUrl;
addedjs-packages/tests/migrations/index.tsdiffbeforeafterboth

no changes

modifiedjs-packages/tests/nativeFungible.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {expect, itSub, usingPlaygrounds} from './util/index.js';18import {expect, itSub, usingPlaygrounds} from '@unique/test-utils/util.js';
1919
20describe('Native fungible', () => {20describe('Native fungible', () => {
21 let root: IKeyringPair;21 let root: IKeyringPair;
modifiedjs-packages/tests/nextSponsoring.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {expect, itSub, Pallets, usingPlaygrounds} from './util/index.js';18import {expect, itSub, Pallets, usingPlaygrounds} from '@unique/test-utils/util.js';
1919
20const SPONSORING_TIMEOUT = 5;20const SPONSORING_TIMEOUT = 5;
2121
modifiedjs-packages/tests/package.jsondiffbeforeafterboth
13 "mocha": "^10.1.0"13 "mocha": "^10.1.0"
14 },14 },
15 "scripts": {15 "scripts": {
16 "setup": "yarn node --no-warnings=ExperimentalWarning --loader ts-node/esm ./util/globalSetup.ts",16 "setup": "yarn node --no-warnings=ExperimentalWarning --loader ts-node/esm ../test-utils/globalSetup.ts",
17 "setIdentities": "yarn node --no-warnings=ExperimentalWarning --loader ts-node/esm ./util/identitySetter.ts",17 "setIdentities": "yarn node --no-warnings=ExperimentalWarning --loader ts-node/esm ../scripts/identitySetter.ts",
18 "checkRelayIdentities": "yarn node --no-warnings=ExperimentalWarning --loader ts-node/esm ./util/relayIdentitiesChecker.ts",18 "checkRelayIdentities": "yarn node --no-warnings=ExperimentalWarning --loader ts-node/esm ../scripts/relayIdentitiesChecker.ts",
19 "_test": "yarn setup && yarn mocha --timeout 9999999 --loader=ts-node/esm.mjs",19 "_test": "yarn setup && yarn mocha --timeout 9999999 --loader=ts-node/esm.mjs",
20 "_testParallel": "yarn setup && yarn mocha --timeout 9999999 --parallel --loader=ts-node/esm.mjs",20 "_testParallel": "yarn setup && yarn mocha --timeout 9999999 --parallel --loader=ts-node/esm.mjs",
21 "test": "yarn _test './**/*.*test.ts'",21 "test": "yarn _test './**/*.*test.ts'",
modifiedjs-packages/tests/pallet-presence.test.tsdiffbeforeafterboth
14// You should have received a copy of the GNU General Public License14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import {itSub, usingPlaygrounds, expect} from './util/index.js';17import {itSub, usingPlaygrounds, expect} from '@unique/test-utils/util.js';
1818
19// Pallets that must always be present19// Pallets that must always be present
20const requiredPallets = [20const requiredPallets = [
modifiedjs-packages/tests/performance.seq.test.tsdiffbeforeafterboth
1616
17import {ApiPromise} from '@polkadot/api';17import {ApiPromise} from '@polkadot/api';
18import type {IKeyringPair} from '@polkadot/types/types';18import type {IKeyringPair} from '@polkadot/types/types';
19import {expect, itSub, usingPlaygrounds} from './util/index.js';19import {expect, itSub, usingPlaygrounds} from '@unique/test-utils/util.js';
20import type {ICrossAccountId, IProperty} from '@unique/playgrounds/types.js';20import type {ICrossAccountId, IProperty} from '@unique-nft/playgrounds/types.js';
21import {UniqueHelper} from '@unique/playgrounds/unique.js';21import {UniqueHelper} from '@unique-nft/playgrounds/unique.js';
2222
23describe('Performace tests', () => {23describe('Performace tests', () => {
24 let alice: IKeyringPair;24 let alice: IKeyringPair;
modifiedjs-packages/tests/refungible.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, Pallets, requirePalletsOrSkip, usingPlaygrounds, expect} from './util/index.js';18import {itSub, Pallets, requirePalletsOrSkip, usingPlaygrounds, expect} from '@unique/test-utils/util.js';
1919
20const MAX_REFUNGIBLE_PIECES = 1_000_000_000_000_000_000_000n;20const MAX_REFUNGIBLE_PIECES = 1_000_000_000_000_000_000_000n;
2121
modifiedjs-packages/tests/removeCollectionAdmin.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, usingPlaygrounds, expect} from './util/index.js';18import {itSub, usingPlaygrounds, expect} from '@unique/test-utils/util.js';
19import {NON_EXISTENT_COLLECTION_ID} from '@unique/playgrounds/types.js';19import {NON_EXISTENT_COLLECTION_ID} from '@unique-nft/playgrounds/types.js';
2020
21describe('Integration Test removeCollectionAdmin(collection_id, account_id):', () => {21describe('Integration Test removeCollectionAdmin(collection_id, account_id):', () => {
22 let alice: IKeyringPair;22 let alice: IKeyringPair;
modifiedjs-packages/tests/removeCollectionSponsor.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, usingPlaygrounds, expect} from './util/index.js';18import {itSub, usingPlaygrounds, expect} from '@unique/test-utils/util.js';
19import {NON_EXISTENT_COLLECTION_ID} from '@unique/playgrounds/types.js';19import {NON_EXISTENT_COLLECTION_ID} from '@unique-nft/playgrounds/types.js';
2020
21describe('integration test: ext. removeCollectionSponsor():', () => {21describe('integration test: ext. removeCollectionSponsor():', () => {
22 let donor: IKeyringPair;22 let donor: IKeyringPair;
modifiedjs-packages/tests/rpc.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {usingPlaygrounds, itSub, expect} from './util/index.js';18import {usingPlaygrounds, itSub, expect} from '@unique/test-utils/util.js';
19import {ICrossAccountId} from '@unique/playgrounds/types.js';19import {ICrossAccountId} from '@unique-nft/playgrounds/types.js';
2020
21describe('integration test: RPC methods', () => {21describe('integration test: RPC methods', () => {
22 let donor: IKeyringPair;22 let donor: IKeyringPair;
modifiedjs-packages/tests/scheduler.seqtest.tsdiffbeforeafterboth
14// You should have received a copy of the GNU General Public License14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import {expect, itSched, itSub, Pallets, requirePalletsOrSkip, usingPlaygrounds} from './util/index.js';17import {expect, itSched, itSub, Pallets, requirePalletsOrSkip, usingPlaygrounds} from '@unique/test-utils/util.js';
18import type {IKeyringPair} from '@polkadot/types/types';18import type {IKeyringPair} from '@polkadot/types/types';
19import {DevUniqueHelper, Event} from '@unique/playgrounds/unique.dev.js';19import {DevUniqueHelper, Event} from '@unique/test-utils';
2020
21describe('Scheduling token and balance transfers', () => {21describe('Scheduling token and balance transfers', () => {
22 let superuser: IKeyringPair;22 let superuser: IKeyringPair;
modifiedjs-packages/tests/setCollectionLimits.test.tsdiffbeforeafterboth
1616
17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits
18import type {IKeyringPair} from '@polkadot/types/types';18import type {IKeyringPair} from '@polkadot/types/types';
19import {itSub, usingPlaygrounds, expect} from './util/index.js';19import {itSub, usingPlaygrounds, expect} from '@unique/test-utils/util.js';
20import {NON_EXISTENT_COLLECTION_ID} from '@unique/playgrounds/types.js';20import {NON_EXISTENT_COLLECTION_ID} from '@unique-nft/playgrounds/types.js';
2121
22const accountTokenOwnershipLimit = 0;22const accountTokenOwnershipLimit = 0;
23const sponsoredDataSize = 0;23const sponsoredDataSize = 0;
modifiedjs-packages/tests/setCollectionSponsor.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, usingPlaygrounds, expect, Pallets} from './util/index.js';18import {itSub, usingPlaygrounds, expect, Pallets} from '@unique/test-utils/util.js';
19import {NON_EXISTENT_COLLECTION_ID} from '@unique/playgrounds/types.js';19import {NON_EXISTENT_COLLECTION_ID} from '@unique-nft/playgrounds/types.js';
2020
21describe('integration test: ext. setCollectionSponsor():', () => {21describe('integration test: ext. setCollectionSponsor():', () => {
22 let alice: IKeyringPair;22 let alice: IKeyringPair;
modifiedjs-packages/tests/setPermissions.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, usingPlaygrounds, expect} from './util/index.js';18import {itSub, usingPlaygrounds, expect} from '@unique/test-utils/util.js';
19import {NON_EXISTENT_COLLECTION_ID} from '@unique/playgrounds/types.js';19import {NON_EXISTENT_COLLECTION_ID} from '@unique-nft/playgrounds/types.js';
2020
21describe('Integration Test: Set Permissions', () => {21describe('Integration Test: Set Permissions', () => {
22 let alice: IKeyringPair;22 let alice: IKeyringPair;
modifiedjs-packages/tests/sub/appPromotion/appPromotion.seqtest.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, usingPlaygrounds, Pallets, requirePalletsOrSkip} from '../../util/index.js';18import {itSub, usingPlaygrounds, Pallets, requirePalletsOrSkip} from '@unique/test-utils/util.js';
19import {expect} from '../../eth/util/index.js';19import {expect} from '../../eth/util/index.js';
2020
21let superuser: IKeyringPair;21let superuser: IKeyringPair;
modifiedjs-packages/tests/sub/appPromotion/appPromotion.test.tsdiffbeforeafterboth
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {18import {
19 itSub, usingPlaygrounds, Pallets, requirePalletsOrSkip, LOCKING_PERIOD, UNLOCKING_PERIOD,19 itSub, usingPlaygrounds, Pallets, requirePalletsOrSkip, LOCKING_PERIOD, UNLOCKING_PERIOD,
20} from '../../util/index.js';20} from '@unique/test-utils/util.js';
21import {DevUniqueHelper} from '@unique/playgrounds/unique.dev.js';21import {DevUniqueHelper} from '@unique/test-utils';
22import {itEth, expect, SponsoringMode} from '../../eth/util/index.js';22import {itEth, expect, SponsoringMode} from '../../eth/util/index.js';
2323
24let donor: IKeyringPair;24let donor: IKeyringPair;
modifiedjs-packages/tests/sub/check-event/burnItemEvent.test.tsdiffbeforeafterboth
1616
17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits
18import type {IKeyringPair} from '@polkadot/types/types';18import type {IKeyringPair} from '@polkadot/types/types';
19import {usingPlaygrounds, expect, itSub} from '../../util/index.js';19import {usingPlaygrounds, expect, itSub} from '@unique/test-utils/util.js';
20import type {IEvent} from '@unique/playgrounds/types.js';20import type {IEvent} from '@unique-nft/playgrounds/types.js';
2121
2222
23describe('Burn Item event ', () => {23describe('Burn Item event ', () => {
modifiedjs-packages/tests/sub/check-event/createCollectionEvent.test.tsdiffbeforeafterboth
1616
17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits
18import type {IKeyringPair} from '@polkadot/types/types';18import type {IKeyringPair} from '@polkadot/types/types';
19import {usingPlaygrounds, itSub, expect} from '../../util/index.js';19import {usingPlaygrounds, itSub, expect} from '@unique/test-utils/util.js';
20import type {IEvent} from '@unique/playgrounds/types.js';20import type {IEvent} from '@unique-nft/playgrounds/types.js';
2121
22describe('Create collection event ', () => {22describe('Create collection event ', () => {
23 let alice: IKeyringPair;23 let alice: IKeyringPair;
modifiedjs-packages/tests/sub/check-event/createItemEvent.test.tsdiffbeforeafterboth
1616
17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits
18import type {IKeyringPair} from '@polkadot/types/types';18import type {IKeyringPair} from '@polkadot/types/types';
19import {itSub, usingPlaygrounds, expect} from '../../util/index.js';19import {itSub, usingPlaygrounds, expect} from '@unique/test-utils/util.js';
20import type {IEvent} from '@unique/playgrounds/types.js';20import type {IEvent} from '@unique-nft/playgrounds/types.js';
2121
22describe('Create Item event ', () => {22describe('Create Item event ', () => {
23 let alice: IKeyringPair;23 let alice: IKeyringPair;
modifiedjs-packages/tests/sub/check-event/createMultipleItemsEvent.test.tsdiffbeforeafterboth
1616
17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits
18import type {IKeyringPair} from '@polkadot/types/types';18import type {IKeyringPair} from '@polkadot/types/types';
19import {usingPlaygrounds, itSub, expect} from '../../util/index.js';19import {usingPlaygrounds, itSub, expect} from '@unique/test-utils/util.js';
20import type {IEvent} from '@unique/playgrounds/types.js';20import type {IEvent} from '@unique-nft/playgrounds/types.js';
2121
22describe('Create Multiple Items Event event ', () => {22describe('Create Multiple Items Event event ', () => {
23 let alice: IKeyringPair;23 let alice: IKeyringPair;
modifiedjs-packages/tests/sub/check-event/destroyCollectionEvent.test.tsdiffbeforeafterboth
1616
17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits
18import type {IKeyringPair} from '@polkadot/types/types';18import type {IKeyringPair} from '@polkadot/types/types';
19import {itSub, usingPlaygrounds, expect} from '../../util/index.js';19import {itSub, usingPlaygrounds, expect} from '@unique/test-utils/util.js';
20import type {IEvent} from '@unique/playgrounds/types.js';20import type {IEvent} from '@unique-nft/playgrounds/types.js';
2121
22describe('Destroy collection event ', () => {22describe('Destroy collection event ', () => {
23 let alice: IKeyringPair;23 let alice: IKeyringPair;
modifiedjs-packages/tests/sub/check-event/transferEvent.test.tsdiffbeforeafterboth
1616
17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits
18import type {IKeyringPair} from '@polkadot/types/types';18import type {IKeyringPair} from '@polkadot/types/types';
19import {usingPlaygrounds, expect, itSub} from '../../util/index.js';19import {usingPlaygrounds, expect, itSub} from '@unique/test-utils/util.js';
20import type {IEvent} from '@unique/playgrounds/types.js';20import type {IEvent} from '@unique-nft/playgrounds/types.js';
2121
22describe('Transfer event ', () => {22describe('Transfer event ', () => {
23 let alice: IKeyringPair;23 let alice: IKeyringPair;
modifiedjs-packages/tests/sub/check-event/transferFromEvent.test.tsdiffbeforeafterboth
1616
17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits
18import type {IKeyringPair} from '@polkadot/types/types';18import type {IKeyringPair} from '@polkadot/types/types';
19import {usingPlaygrounds, expect, itSub} from '../../util/index.js';19import {usingPlaygrounds, expect, itSub} from '@unique/test-utils/util.js';
20import type {IEvent} from '@unique/playgrounds/types.js';20import type {IEvent} from '@unique-nft/playgrounds/types.js';
2121
22describe('Transfer event ', () => {22describe('Transfer event ', () => {
23 let alice: IKeyringPair;23 let alice: IKeyringPair;
modifiedjs-packages/tests/sub/collator-selection/collatorSelection.seqtest.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {usingPlaygrounds, expect, itSub, Pallets, requirePalletsOrSkip} from '../../util/index.js';18import {usingPlaygrounds, expect, itSub, Pallets, requirePalletsOrSkip} from '@unique/test-utils/util.js';
1919
20async function nodeAddress(name: string) {20async function nodeAddress(name: string) {
21 // eslint-disable-next-line require-await21 // eslint-disable-next-line require-await
modifiedjs-packages/tests/sub/collator-selection/identity.seqtest.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {usingPlaygrounds, expect, itSub, Pallets, requirePalletsOrSkip} from '../../util/index.js';18import {usingPlaygrounds, expect, itSub, Pallets, requirePalletsOrSkip} from '@unique/test-utils/util.js';
19import {UniqueHelper} from '@unique/playgrounds/unique.js';19import {UniqueHelper} from '@unique-nft/playgrounds/unique.js';
2020
21async function getIdentities(helper: UniqueHelper) {21async function getIdentities(helper: UniqueHelper) {
22 const identities: [string, any][] = [];22 const identities: [string, any][] = [];
modifiedjs-packages/tests/sub/governance/council.test.tsdiffbeforeafterboth
11
2import type {IKeyringPair} from '@polkadot/types/types';2import type {IKeyringPair} from '@polkadot/types/types';
3import {usingPlaygrounds, itSub, expect, Pallets, requirePalletsOrSkip, describeGov} from '../../util/index.js';3import {usingPlaygrounds, itSub, expect, Pallets, requirePalletsOrSkip, describeGov} from '@unique/test-utils/util.js';
4import {Event} from '@unique/playgrounds/unique.dev.js';4import {Event} from '@unique/test-utils';
5import {initCouncil, democracyLaunchPeriod, democracyVotingPeriod, democracyEnactmentPeriod, councilMotionDuration, democracyFastTrackVotingPeriod, fellowshipRankLimit, clearCouncil, clearTechComm, initTechComm, clearFellowship, dummyProposal, dummyProposalCall, initFellowship, defaultEnactmentMoment, fellowshipPropositionOrigin} from './util.js';5import {initCouncil, democracyLaunchPeriod, democracyVotingPeriod, democracyEnactmentPeriod, councilMotionDuration, democracyFastTrackVotingPeriod, fellowshipRankLimit, clearCouncil, clearTechComm, initTechComm, clearFellowship, dummyProposal, dummyProposalCall, initFellowship, defaultEnactmentMoment, fellowshipPropositionOrigin} from './util.js';
6import type {ICounselors} from './util.js';6import type {ICounselors} from './util.js';
77
modifiedjs-packages/tests/sub/governance/democracy.test.tsdiffbeforeafterboth
1import type {IKeyringPair} from '@polkadot/types/types';1import type {IKeyringPair} from '@polkadot/types/types';
2import {usingPlaygrounds, itSub, expect, Pallets, requirePalletsOrSkip, describeGov} from '../../util/index.js';2import {usingPlaygrounds, itSub, expect, Pallets, requirePalletsOrSkip, describeGov} from '@unique/test-utils/util.js';
3import {clearFellowship, democracyLaunchPeriod, democracyTrackMinRank, dummyProposalCall, fellowshipConfirmPeriod, fellowshipMinEnactPeriod, fellowshipPreparePeriod, fellowshipPropositionOrigin, initFellowship, voteUnanimouslyInFellowship} from './util.js';3import {clearFellowship, democracyLaunchPeriod, democracyTrackMinRank, dummyProposalCall, fellowshipConfirmPeriod, fellowshipMinEnactPeriod, fellowshipPreparePeriod, fellowshipPropositionOrigin, initFellowship, voteUnanimouslyInFellowship} from './util.js';
4import {Event} from '@unique/playgrounds/unique.dev.js';4import {Event} from '@unique/test-utils';
55
6describeGov('Governance: Democracy tests', () => {6describeGov('Governance: Democracy tests', () => {
7 let regularUser: IKeyringPair;7 let regularUser: IKeyringPair;
modifiedjs-packages/tests/sub/governance/electsudo.test.tsdiffbeforeafterboth
1import type {IKeyringPair} from '@polkadot/types/types';1import type {IKeyringPair} from '@polkadot/types/types';
2import {usingPlaygrounds, itSub, expect, Pallets, requirePalletsOrSkip, describeGov} from '../../util/index.js';2import {usingPlaygrounds, itSub, expect, Pallets, requirePalletsOrSkip, describeGov} from '@unique/test-utils/util.js';
3import {Event} from '@unique/playgrounds/unique.dev.js';3import {Event} from '@unique/test-utils';
4import {initCouncil, democracyLaunchPeriod, democracyVotingPeriod, democracyEnactmentPeriod, clearCouncil, clearTechComm, initTechComm, ITechComms} from './util.js';4import {initCouncil, democracyLaunchPeriod, democracyVotingPeriod, democracyEnactmentPeriod, clearCouncil, clearTechComm, initTechComm, ITechComms} from './util.js';
5import type {ICounselors} from './util.js';5import type {ICounselors} from './util.js';
66
modifiedjs-packages/tests/sub/governance/fellowship.test.tsdiffbeforeafterboth
1import type {IKeyringPair} from '@polkadot/types/types';1import type {IKeyringPair} from '@polkadot/types/types';
2import {usingPlaygrounds, itSub, expect, Pallets, requirePalletsOrSkip, describeGov} from '../../util/index.js';2import {usingPlaygrounds, itSub, expect, Pallets, requirePalletsOrSkip, describeGov} from '@unique/test-utils/util.js';
3import {DevUniqueHelper, Event} from '@unique/playgrounds/unique.dev.js';3import {DevUniqueHelper, Event} from '@unique/test-utils';
4import {initCouncil, democracyLaunchPeriod, democracyVotingPeriod, democracyFastTrackVotingPeriod, fellowshipRankLimit, clearCouncil, clearTechComm, clearFellowship, defaultEnactmentMoment, dummyProposal, dummyProposalCall, fellowshipPropositionOrigin, initFellowship, initTechComm, voteUnanimouslyInFellowship, democracyTrackMinRank, fellowshipPreparePeriod, fellowshipConfirmPeriod, fellowshipMinEnactPeriod, democracyTrackId, hardResetFellowshipReferenda, hardResetDemocracy, hardResetGovScheduler} from './util.js';4import {initCouncil, democracyLaunchPeriod, democracyVotingPeriod, democracyFastTrackVotingPeriod, fellowshipRankLimit, clearCouncil, clearTechComm, clearFellowship, defaultEnactmentMoment, dummyProposal, dummyProposalCall, fellowshipPropositionOrigin, initFellowship, initTechComm, voteUnanimouslyInFellowship, democracyTrackMinRank, fellowshipPreparePeriod, fellowshipConfirmPeriod, fellowshipMinEnactPeriod, democracyTrackId, hardResetFellowshipReferenda, hardResetDemocracy, hardResetGovScheduler} from './util.js';
5import type {ICounselors, ITechComms} from './util.js';5import type {ICounselors, ITechComms} from './util.js';
66
modifiedjs-packages/tests/sub/governance/init.test.tsdiffbeforeafterboth
1import type {IKeyringPair} from '@polkadot/types/types';1import type {IKeyringPair} from '@polkadot/types/types';
2import {usingPlaygrounds, itSub, expect, Pallets, requirePalletsOrSkip, describeGov} from '../../util/index.js';2import {usingPlaygrounds, itSub, expect, Pallets, requirePalletsOrSkip, describeGov} from '@unique/test-utils/util.js';
3import {Event} from '@unique/playgrounds/unique.dev.js';3import {Event} from '@unique/test-utils';
4import {democracyLaunchPeriod, democracyVotingPeriod, democracyEnactmentPeriod, clearCouncil, clearTechComm, clearFellowship} from './util.js';4import {democracyLaunchPeriod, democracyVotingPeriod, democracyEnactmentPeriod, clearCouncil, clearTechComm, clearFellowship} from './util.js';
5import type {ICounselors, ITechComms} from './util.js';5import type {ICounselors, ITechComms} from './util.js';
66
modifiedjs-packages/tests/sub/governance/technicalCommittee.test.tsdiffbeforeafterboth
1import type {IKeyringPair} from '@polkadot/types/types';1import type {IKeyringPair} from '@polkadot/types/types';
2import {usingPlaygrounds, itSub, expect, Pallets, requirePalletsOrSkip, describeGov} from '../../util/index.js';2import {usingPlaygrounds, itSub, expect, Pallets, requirePalletsOrSkip, describeGov} from '@unique/test-utils/util.js';
3import {Event} from '@unique/playgrounds/unique.dev.js';3import {Event} from '@unique/test-utils';
4import {initCouncil, democracyLaunchPeriod, democracyFastTrackVotingPeriod, clearCouncil, clearTechComm, clearFellowship, defaultEnactmentMoment, dummyProposal, dummyProposalCall, fellowshipPropositionOrigin, initFellowship, initTechComm, hardResetFellowshipReferenda, hardResetDemocracy, hardResetGovScheduler} from './util.js';4import {initCouncil, democracyLaunchPeriod, democracyFastTrackVotingPeriod, clearCouncil, clearTechComm, clearFellowship, defaultEnactmentMoment, dummyProposal, dummyProposalCall, fellowshipPropositionOrigin, initFellowship, initTechComm, hardResetFellowshipReferenda, hardResetDemocracy, hardResetGovScheduler} from './util.js';
5import type {ITechComms} from './util.js';5import type {ITechComms} from './util.js';
66
modifiedjs-packages/tests/sub/governance/util.tsdiffbeforeafterboth
1import type {IKeyringPair} from '@polkadot/types/types';1import type {IKeyringPair} from '@polkadot/types/types';
2import {xxhashAsHex} from '@polkadot/util-crypto';2import {xxhashAsHex} from '@polkadot/util-crypto';
3import type {u32} from '@polkadot/types-codec';3import type {u32} from '@polkadot/types-codec';
4import {usingPlaygrounds, expect} from '../../util/index.js';4import {usingPlaygrounds, expect} from '@unique/test-utils/util.js';
5import {UniqueHelper} from '@unique/playgrounds/unique.js';5import {UniqueHelper} from '@unique-nft/playgrounds/unique.js';
6import {DevUniqueHelper} from '@unique/playgrounds/unique.dev.js';6import {DevUniqueHelper} from '@unique/test-utils';
77
8export const democracyLaunchPeriod = 35;8export const democracyLaunchPeriod = 35;
9export const democracyVotingPeriod = 35;9export const democracyVotingPeriod = 35;
modifiedjs-packages/tests/sub/nesting/admin.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {expect, itSub, usingPlaygrounds} from '../../util/index.js';18import {expect, itSub, usingPlaygrounds} from '@unique/test-utils/util.js';
19import {CrossAccountId} from '@unique/playgrounds/unique.js';19import {CrossAccountId} from '@unique-nft/playgrounds/unique.js';
2020
21describe('Nesting by collection admin', () => {21describe('Nesting by collection admin', () => {
22 let alice: IKeyringPair;22 let alice: IKeyringPair;
modifiedjs-packages/tests/sub/nesting/collectionProperties.seqtest.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, Pallets, usingPlaygrounds, expect, requirePalletsOrSkip, sizeOfProperty} from '../../util/index.js';18import {itSub, Pallets, usingPlaygrounds, expect, requirePalletsOrSkip, sizeOfProperty} from '@unique/test-utils/util.js';
1919
20describe('Integration Test: Collection Properties with sudo', () => {20describe('Integration Test: Collection Properties with sudo', () => {
21 let superuser: IKeyringPair;21 let superuser: IKeyringPair;
modifiedjs-packages/tests/sub/nesting/collectionProperties.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, Pallets, usingPlaygrounds, expect, requirePalletsOrSkip, sizeOfProperty} from '../../util/index.js';18import {itSub, Pallets, usingPlaygrounds, expect, requirePalletsOrSkip, sizeOfProperty} from '@unique/test-utils/util.js';
1919
20describe('Integration Test: Collection Properties', () => {20describe('Integration Test: Collection Properties', () => {
21 let alice: IKeyringPair;21 let alice: IKeyringPair;
modifiedjs-packages/tests/sub/nesting/common.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {expect, itSub, Pallets, usingPlaygrounds} from '../../util/index.js';18import {expect, itSub, Pallets, usingPlaygrounds} from '@unique/test-utils/util.js';
19import {CrossAccountId, UniqueNFTCollection, UniqueRFTCollection} from '@unique/playgrounds/unique.js';19import {CrossAccountId, UniqueNFTCollection, UniqueRFTCollection} from '@unique-nft/playgrounds/unique.js';
2020
21let alice: IKeyringPair;21let alice: IKeyringPair;
22let bob: IKeyringPair;22let bob: IKeyringPair;
modifiedjs-packages/tests/sub/nesting/e2e.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {expect, itSub, usingPlaygrounds} from '../../util/index.js';18import {expect, itSub, usingPlaygrounds} from '@unique/test-utils/util.js';
19import {CrossAccountId} from '@unique/playgrounds/unique.js';19import {CrossAccountId} from '@unique-nft/playgrounds/unique.js';
2020
21describe('Composite nesting tests', () => {21describe('Composite nesting tests', () => {
22 let alice: IKeyringPair;22 let alice: IKeyringPair;
modifiedjs-packages/tests/sub/nesting/graphs.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {expect, itSub, usingPlaygrounds} from '../../util/index.js';18import {expect, itSub, usingPlaygrounds} from '@unique/test-utils/util.js';
19import {UniqueHelper, UniqueNFTCollection, UniqueNFToken} from '@unique/playgrounds/unique.js';19import {UniqueHelper, UniqueNFTCollection, UniqueNFToken} from '@unique-nft/playgrounds/unique.js';
2020
21/**21/**
22 * ```dot22 * ```dot
modifiedjs-packages/tests/sub/nesting/nesting.negative.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {expect, itSub, Pallets, usingPlaygrounds} from '../../util/index.js';18import {expect, itSub, Pallets, usingPlaygrounds} from '@unique/test-utils/util.js';
19import {UniqueFTCollection, UniqueNFTCollection, UniqueNFToken, UniqueRFTCollection, UniqueRFToken} from '@unique/playgrounds/unique.js';19import {UniqueFTCollection, UniqueNFTCollection, UniqueNFToken, UniqueRFTCollection, UniqueRFToken} from '@unique-nft/playgrounds/unique.js';
20import {itEth} from '../../eth/util/index.js';20import {itEth} from '../../eth/util/index.js';
2121
22let alice: IKeyringPair;22let alice: IKeyringPair;
modifiedjs-packages/tests/sub/nesting/propertyPermissions.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, Pallets, usingPlaygrounds, expect} from '../../util/index.js';18import {itSub, Pallets, usingPlaygrounds, expect} from '@unique/test-utils/util.js';
19import {UniqueNFTCollection, UniqueRFTCollection} from '@unique/playgrounds/unique.js';19import {UniqueNFTCollection, UniqueRFTCollection} from '@unique-nft/playgrounds/unique.js';
2020
21describe('Integration Test: Access Rights to Token Properties', () => {21describe('Integration Test: Access Rights to Token Properties', () => {
22 let alice: IKeyringPair;22 let alice: IKeyringPair;
modifiedjs-packages/tests/sub/nesting/refungible.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {expect, itSub, Pallets, usingPlaygrounds} from '../../util/index.js';18import {expect, itSub, Pallets, usingPlaygrounds} from '@unique/test-utils/util.js';
1919
20describe('ReFungible-specific nesting tests', () => {20describe('ReFungible-specific nesting tests', () => {
21 let alice: IKeyringPair;21 let alice: IKeyringPair;
modifiedjs-packages/tests/sub/nesting/tokenProperties.seqtest.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, Pallets, usingPlaygrounds, expect, requirePalletsOrSkip, sizeOfProperty} from '../../util/index.js';18import {itSub, Pallets, usingPlaygrounds, expect, requirePalletsOrSkip, sizeOfProperty} from '@unique/test-utils/util.js';
1919
20describe('Integration Test: Token Properties with sudo', () => {20describe('Integration Test: Token Properties with sudo', () => {
21 let superuser: IKeyringPair;21 let superuser: IKeyringPair;
modifiedjs-packages/tests/sub/nesting/tokenProperties.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, Pallets, requirePalletsOrSkip, usingPlaygrounds, expect, sizeOfProperty} from '../../util/index.js';18import {itSub, Pallets, requirePalletsOrSkip, usingPlaygrounds, expect, sizeOfProperty} from '@unique/test-utils/util.js';
19import {UniqueHelper, UniqueNFToken, UniqueRFToken} from '@unique/playgrounds/unique.js';19import {UniqueHelper, UniqueNFToken, UniqueRFToken} from '@unique-nft/playgrounds/unique.js';
2020
21describe('Integration Test: Token Properties', () => {21describe('Integration Test: Token Properties', () => {
22 let alice: IKeyringPair; // collection owner22 let alice: IKeyringPair; // collection owner
modifiedjs-packages/tests/sub/nesting/unnest.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {expect, itSub, Pallets, usingPlaygrounds} from '../../util/index.js';18import {expect, itSub, Pallets, usingPlaygrounds} from '@unique/test-utils/util.js';
19import {CrossAccountId, UniqueFTCollection, UniqueNFToken, UniqueRFToken} from '@unique/playgrounds/unique.js';19import {CrossAccountId, UniqueFTCollection, UniqueNFToken, UniqueRFToken} from '@unique-nft/playgrounds/unique.js';
2020
21describe('Integration Test: Unnesting', () => {21describe('Integration Test: Unnesting', () => {
22 let alice: IKeyringPair;22 let alice: IKeyringPair;
modifiedjs-packages/tests/sub/nesting/unnesting.negative.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {expect, itSub, usingPlaygrounds} from '../../util/index.js';18import {expect, itSub, usingPlaygrounds} from '@unique/test-utils/util.js';
19import {CrossAccountId} from '@unique/playgrounds/unique.js';19import {CrossAccountId} from '@unique-nft/playgrounds/unique.js';
2020
21describe('Negative Test: Unnesting', () => {21describe('Negative Test: Unnesting', () => {
22 let alice: IKeyringPair;22 let alice: IKeyringPair;
modifiedjs-packages/tests/sub/refungible/burn.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, Pallets, requirePalletsOrSkip, usingPlaygrounds, expect} from '../../util/index.js';18import {itSub, Pallets, requirePalletsOrSkip, usingPlaygrounds, expect} from '@unique/test-utils/util.js';
1919
20describe('Refungible: burn', () => {20describe('Refungible: burn', () => {
21 let donor: IKeyringPair;21 let donor: IKeyringPair;
modifiedjs-packages/tests/sub/refungible/nesting.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {expect, itSub, Pallets, requirePalletsOrSkip, usingPlaygrounds} from '../../util/index.js';18import {expect, itSub, Pallets, requirePalletsOrSkip, usingPlaygrounds} from '@unique/test-utils/util.js';
1919
20describe('Refungible nesting', () => {20describe('Refungible nesting', () => {
21 let alice: IKeyringPair;21 let alice: IKeyringPair;
modifiedjs-packages/tests/sub/refungible/repartition.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, Pallets, requirePalletsOrSkip, usingPlaygrounds, expect} from '../../util/index.js';18import {itSub, Pallets, requirePalletsOrSkip, usingPlaygrounds, expect} from '@unique/test-utils/util.js';
1919
20describe('integration test: Refungible functionality:', () => {20describe('integration test: Refungible functionality:', () => {
21 let donor: IKeyringPair;21 let donor: IKeyringPair;
modifiedjs-packages/tests/sub/refungible/transfer.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, Pallets, requirePalletsOrSkip, usingPlaygrounds, expect} from '../../util/index.js';18import {itSub, Pallets, requirePalletsOrSkip, usingPlaygrounds, expect} from '@unique/test-utils/util.js';
1919
20describe('Refungible transfer tests', () => {20describe('Refungible transfer tests', () => {
21 let donor: IKeyringPair;21 let donor: IKeyringPair;
modifiedjs-packages/tests/transfer.test.tsdiffbeforeafterboth
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itEth, usingEthPlaygrounds} from './eth/util/index.js';18import {itEth, usingEthPlaygrounds} from './eth/util/index.js';
19import {itSub, Pallets, usingPlaygrounds, expect} from './util/index.js';19import {itSub, Pallets, usingPlaygrounds, expect} from '@unique/test-utils/util.js';
20import {NON_EXISTENT_COLLECTION_ID} from '@unique/playgrounds/types.js';20import {NON_EXISTENT_COLLECTION_ID} from '@unique-nft/playgrounds/types.js';
2121
22describe('Integration Test Transfer(recipient, collection_id, item_id, value)', () => {22describe('Integration Test Transfer(recipient, collection_id, item_id, value)', () => {
23 let donor: IKeyringPair;23 let donor: IKeyringPair;
modifiedjs-packages/tests/transferFrom.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, Pallets, usingPlaygrounds, expect} from './util/index.js';18import {itSub, Pallets, usingPlaygrounds, expect} from '@unique/test-utils/util.js';
19import {NON_EXISTENT_COLLECTION_ID} from '@unique/playgrounds/types.js';19import {NON_EXISTENT_COLLECTION_ID} from '@unique-nft/playgrounds/types.js';
2020
21describe('Integration Test transferFrom(from, recipient, collection_id, item_id, value):', () => {21describe('Integration Test transferFrom(from, recipient, collection_id, item_id, value):', () => {
22 let alice: IKeyringPair;22 let alice: IKeyringPair;
modifiedjs-packages/tests/tx-version-presence.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import {Metadata} from '@polkadot/types';17import {Metadata} from '@polkadot/types';
18import {itSub, usingPlaygrounds, expect} from './util/index.js';18import {itSub, usingPlaygrounds, expect} from '@unique/test-utils/util.js';
1919
20let metadata: Metadata;20let metadata: Metadata;
2121
deletedjs-packages/tests/util/authorizeEnactUpgrade.tsdiffbeforeafterboth

no changes

deletedjs-packages/tests/util/createHrmp.tsdiffbeforeafterboth

no changes

deletedjs-packages/tests/util/frankensteinMigrate.tsdiffbeforeafterboth

no changes

deletedjs-packages/tests/util/globalSetup.tsdiffbeforeafterboth

no changes

deletedjs-packages/tests/util/identitySetter.tsdiffbeforeafterboth

no changes

deletedjs-packages/tests/util/index.tsdiffbeforeafterboth

no changes

deletedjs-packages/tests/util/relayIdentitiesChecker.tsdiffbeforeafterboth

no changes

deletedjs-packages/tests/util/setCode.tsdiffbeforeafterboth

no changes

modifiedjs-packages/tests/vesting.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, usingPlaygrounds, expect} from './util/index.js';18import {itSub, usingPlaygrounds, expect} from '@unique/test-utils/util.js';
1919
20describe('Vesting', () => {20describe('Vesting', () => {
21 let donor: IKeyringPair;21 let donor: IKeyringPair;
modifiedjs-packages/tests/xcm/lowLevelXcmQuartz.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, describeXCM, usingPlaygrounds, usingKaruraPlaygrounds, usingMoonriverPlaygrounds, usingShidenPlaygrounds, usingRelayPlaygrounds} from '../util/index.js';18import {itSub, describeXCM, usingPlaygrounds, usingKaruraPlaygrounds, usingMoonriverPlaygrounds, usingShidenPlaygrounds} from '@unique/test-utils/util.js';
19import {QUARTZ_CHAIN, QTZ_DECIMALS, SHIDEN_DECIMALS, karuraUrl, moonriverUrl, shidenUrl, SAFE_XCM_VERSION, XcmTestHelper, TRANSFER_AMOUNT, SENDER_BUDGET, relayUrl} from './xcm.types.js';19import {QUARTZ_CHAIN, QTZ_DECIMALS, SHIDEN_DECIMALS, karuraUrl, moonriverUrl, shidenUrl, SAFE_XCM_VERSION, XcmTestHelper, TRANSFER_AMOUNT, SENDER_BUDGET, relayUrl} from './xcm.types.js';
20import {hexToString} from '@polkadot/util';20import {hexToString} from '@polkadot/util';
2121
modifiedjs-packages/tests/xcm/lowLevelXcmUnique.test.tsdiffbeforeafterboth
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import config from '../config.js';18import config from '../config.js';
19import {itSub, describeXCM, usingPlaygrounds, usingAcalaPlaygrounds, usingMoonbeamPlaygrounds, usingAstarPlaygrounds, usingPolkadexPlaygrounds, usingHydraDxPlaygrounds} from '../util/index.js';19import {itSub, describeXCM, usingPlaygrounds, usingAcalaPlaygrounds, usingMoonbeamPlaygrounds, usingAstarPlaygrounds, usingPolkadexPlaygrounds, usingHydraDxPlaygrounds} from '@unique/test-utils/util.js';
20import {nToBigInt} from '@polkadot/util';20import {nToBigInt} from '@polkadot/util';
21import {hexToString} from '@polkadot/util';21import {hexToString} from '@polkadot/util';
22import {ASTAR_DECIMALS, SAFE_XCM_VERSION, SENDER_BUDGET, UNIQUE_CHAIN, UNQ_DECIMALS, XcmTestHelper, acalaUrl, astarUrl, hydraDxUrl, moonbeamUrl, polkadexUrl, uniqueAssetId} from './xcm.types.js';22import {ASTAR_DECIMALS, SAFE_XCM_VERSION, SENDER_BUDGET, UNIQUE_CHAIN, UNQ_DECIMALS, XcmTestHelper, acalaUrl, astarUrl, hydraDxUrl, moonbeamUrl, polkadexUrl, uniqueAssetId} from './xcm.types.js';
modifiedjs-packages/tests/xcm/xcm.types.tsdiffbeforeafterboth
1import type {IKeyringPair} from '@polkadot/types/types';1import type {IKeyringPair} from '@polkadot/types/types';
2import {hexToString} from '@polkadot/util';
3import {expect, usingAcalaPlaygrounds, usingAstarPlaygrounds, usingHydraDxPlaygrounds, usingKaruraPlaygrounds, usingMoonbeamPlaygrounds, usingMoonriverPlaygrounds, usingPlaygrounds, usingPolkadexPlaygrounds, usingRelayPlaygrounds, usingShidenPlaygrounds} from '../util/index.js';2import {expect, usingAcalaPlaygrounds, usingAstarPlaygrounds, usingHydraDxPlaygrounds, usingKaruraPlaygrounds, usingMoonbeamPlaygrounds, usingMoonriverPlaygrounds, usingPlaygrounds, usingPolkadexPlaygrounds, usingRelayPlaygrounds, usingShidenPlaygrounds} from '@unique/test-utils/util.js';
4import {DevUniqueHelper, Event} from '@unique/playgrounds/unique.dev.js';3import {DevUniqueHelper, Event} from '@unique/test-utils';
5import config from '../config.js';4import config from '../config.js';
65
7export const UNIQUE_CHAIN = +(process.env.RELAY_UNIQUE_ID || 2037);6export const UNIQUE_CHAIN = +(process.env.RELAY_UNIQUE_ID || 2037);
modifiedjs-packages/tests/xcm/xcmOpal.test.tsdiffbeforeafterboth
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import config from '../config.js';18import config from '../config.js';
19import {itSub, expect, describeXCM, usingPlaygrounds, usingWestmintPlaygrounds, usingRelayPlaygrounds} from '../util/index.js';19import {itSub, expect, describeXCM, usingPlaygrounds, usingWestmintPlaygrounds, usingRelayPlaygrounds} from '@unique/test-utils/util.js';
20import {XcmTestHelper} from './xcm.types.js';20import {XcmTestHelper} from './xcm.types.js';
2121
22const STATEMINE_CHAIN = +(process.env.RELAY_WESTMINT_ID || 1000);22const STATEMINE_CHAIN = +(process.env.RELAY_WESTMINT_ID || 1000);
modifiedjs-packages/tests/xcm/xcmQuartz.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import {itSub, expect, describeXCM, usingPlaygrounds, usingKaruraPlaygrounds, usingRelayPlaygrounds, usingMoonriverPlaygrounds, usingStateminePlaygrounds, usingShidenPlaygrounds} from '../util/index.js';18import {itSub, expect, describeXCM, usingPlaygrounds, usingKaruraPlaygrounds, usingRelayPlaygrounds, usingMoonriverPlaygrounds, usingStateminePlaygrounds, usingShidenPlaygrounds} from '@unique/test-utils/util.js';
19import {DevUniqueHelper, Event} from '@unique/playgrounds/unique.dev.js';19import {DevUniqueHelper, Event} from '@unique/test-utils';
20import {STATEMINE_CHAIN, QUARTZ_CHAIN, KARURA_CHAIN, MOONRIVER_CHAIN, SHIDEN_CHAIN, STATEMINE_DECIMALS, KARURA_DECIMALS, QTZ_DECIMALS, RELAY_DECIMALS, SHIDEN_DECIMALS, karuraUrl, moonriverUrl, relayUrl, shidenUrl, statemineUrl} from './xcm.types.js';20import {STATEMINE_CHAIN, QUARTZ_CHAIN, KARURA_CHAIN, MOONRIVER_CHAIN, SHIDEN_CHAIN, STATEMINE_DECIMALS, KARURA_DECIMALS, QTZ_DECIMALS, RELAY_DECIMALS, SHIDEN_DECIMALS, karuraUrl, moonriverUrl, relayUrl, shidenUrl, statemineUrl} from './xcm.types.js';
21import {hexToString} from '@polkadot/util';21import {hexToString} from '@polkadot/util';
22import {XcmTestHelper} from './xcm.types.js';22import {XcmTestHelper} from './xcm.types.js';
modifiedjs-packages/tests/xcm/xcmUnique.test.tsdiffbeforeafterboth
1616
17import type {IKeyringPair} from '@polkadot/types/types';17import type {IKeyringPair} from '@polkadot/types/types';
18import config from '../config.js';18import config from '../config.js';
19import {itSub, expect, describeXCM, usingPlaygrounds, usingAcalaPlaygrounds, usingRelayPlaygrounds, usingMoonbeamPlaygrounds, usingStatemintPlaygrounds, usingAstarPlaygrounds, usingPolkadexPlaygrounds} from '../util/index.js';19import {itSub, expect, describeXCM, usingPlaygrounds, usingAcalaPlaygrounds, usingRelayPlaygrounds, usingMoonbeamPlaygrounds, usingStatemintPlaygrounds, usingAstarPlaygrounds, usingPolkadexPlaygrounds} from '@unique/test-utils/util.js';
20import {Event} from '@unique/playgrounds/unique.dev.js';20import {Event} from '@unique/test-utils';
21import {hexToString, nToBigInt} from '@polkadot/util';21import {hexToString, nToBigInt} from '@polkadot/util';
22import {ACALA_CHAIN, ASTAR_CHAIN, MOONBEAM_CHAIN, POLKADEX_CHAIN, SAFE_XCM_VERSION, STATEMINT_CHAIN, UNIQUE_CHAIN, expectFailedToTransact, expectUntrustedReserveLocationFail, uniqueAssetId, uniqueVersionedMultilocation} from './xcm.types.js';22import {ACALA_CHAIN, ASTAR_CHAIN, MOONBEAM_CHAIN, POLKADEX_CHAIN, SAFE_XCM_VERSION, STATEMINT_CHAIN, UNIQUE_CHAIN, expectFailedToTransact, expectUntrustedReserveLocationFail, uniqueAssetId, uniqueVersionedMultilocation} from './xcm.types.js';
23import {XcmTestHelper} from './xcm.types.js';23import {XcmTestHelper} from './xcm.types.js';
modifiedjs-packages/types/package.jsondiffbeforeafterboth
5 "engines": {5 "engines": {
6 "node": ">=16"6 "node": ">=16"
7 },7 },
8 "name": "@unique/opal-types",8 "name": "@unique-nft/opal-testnet-types",
9 "type": "module",9 "type": "module",
10 "version": "1.0.0",10 "version": "1.0.0",
11 "main": "index.js",11 "main": "index.js",
modifiedjs-packages/yarn.lockdiffbeforeafterboth
1242 languageName: node1242 languageName: node
1243 linkType: hard1243 linkType: hard
12441244
1245"@unique/opal-types@workspace:*, @unique/opal-types@workspace:types":1245"@unique-nft/opal-testnet-types@workspace:*, @unique-nft/opal-testnet-types@workspace:types":
1246 version: 0.0.0-use.local1246 version: 0.0.0-use.local
1247 resolution: "@unique/opal-types@workspace:types"1247 resolution: "@unique-nft/opal-testnet-types@workspace:types"
1248 dependencies:1248 dependencies:
1249 "@polkadot/typegen": ^10.10.11249 "@polkadot/typegen": ^10.10.1
1250 languageName: unknown1250 languageName: unknown
1251 linkType: soft1251 linkType: soft
12521252
1253"@unique/playgrounds@workspace:*, @unique/playgrounds@workspace:playgrounds":1253"@unique-nft/playgrounds@workspace:*, @unique-nft/playgrounds@workspace:playgrounds":
1254 version: 0.0.0-use.local1254 version: 0.0.0-use.local
1255 resolution: "@unique/playgrounds@workspace:playgrounds"1255 resolution: "@unique-nft/playgrounds@workspace:playgrounds"
1256 dependencies:1256 dependencies:
1257 "@polkadot/api": 10.10.11257 "@polkadot/api": 10.10.1
1258 "@polkadot/util": ^12.5.11258 "@polkadot/util": ^12.5.1
1259 "@polkadot/util-crypto": ^12.5.11259 "@polkadot/util-crypto": ^12.5.1
1260 "@unique/opal-types": "workspace:*"
1261 languageName: unknown1260 languageName: unknown
1262 linkType: soft1261 linkType: soft
12631262
1267 languageName: unknown1266 languageName: unknown
1268 linkType: soft1267 linkType: soft
1268
1269"@unique/test-utils@workspace:*, @unique/test-utils@workspace:test-utils":
1270 version: 0.0.0-use.local
1271 resolution: "@unique/test-utils@workspace:test-utils"
1272 dependencies:
1273 "@polkadot/api": 10.10.1
1274 "@polkadot/util": ^12.5.1
1275 "@polkadot/util-crypto": ^12.5.1
1276 "@unique-nft/opal-testnet-types": "workspace:*"
1277 languageName: unknown
1278 linkType: soft
12691279
1270"@unique/tests@workspace:tests":1280"@unique/tests@workspace:tests":
1271 version: 0.0.0-use.local1281 version: 0.0.0-use.local
6001 "@types/node": ^20.8.106011 "@types/node": ^20.8.10
6002 "@typescript-eslint/eslint-plugin": ^6.10.06012 "@typescript-eslint/eslint-plugin": ^6.10.0
6003 "@typescript-eslint/parser": ^6.10.06013 "@typescript-eslint/parser": ^6.10.0
6004 "@unique/opal-types": "workspace:*"6014 "@unique-nft/opal-testnet-types": "workspace:*"
6005 "@unique/playgrounds": "workspace:*"6015 "@unique-nft/playgrounds": "workspace:*"
6016 "@unique/test-utils": "workspace:*"
6006 chai: ^4.3.106017 chai: ^4.3.10
6007 chai-as-promised: ^7.1.16018 chai-as-promised: ^7.1.1
6008 chai-like: ^1.1.16019 chai-like: ^1.1.1