difftreelog
chore remove XCM NFT basic test
in: master
1 file changed
js-packages/tests/xcm/xcmQuartz.test.tsdiffbeforeafterboth783 expect(accountBalance).to.be.equal(0n);783 expect(accountBalance).to.be.equal(0n);784 });784 });785786 itSub.skip('Transfer NFT from Quartz to Karura', async ({helper}) => {787 const collection = await helper.nft.mintCollection(alice, {788 tokenPrefix: 'xNFT',789 });790791 const collectionId = collection.collectionId;792793 await usingKaruraPlaygrounds(karuraUrl, async (helper) => {794 const uniqueCollectionLocation = {795 parents: 1,796 interior: {797 X2: [798 {799 Parachain: QUARTZ_CHAIN,800 },801 {802 GeneralIndex: collectionId,803 },804 ],805 },806 };807808 await helper.executeExtrinsic(809 alice,810 'api.tx.xnft.registerAsset',811 [{812 Concrete: uniqueCollectionLocation,813 }],814 );815 });816817 const token = await collection.mintToken(alice, {Substrate: alice.address});818 const tokenId = token.tokenId;819820 const destination = {821 V3: {822 parents: 1,823 interior: {824 X1: {825 Parachain: KARURA_CHAIN,826 },827 },828 },829 };830831 const beneficiary = {832 V3: {833 parents: 0,834 interior: {835 X1: {836 AccountId32: {837 network: null,838 id: randomAccount.addressRaw,839 },840 },841 },842 },843 };844845 const buyExecutionFee = 10n * 10n ** QTZ_DECIMALS;846847 const assets = {848 V3: [849 {850 id: {851 Concrete: {852 parents: 0,853 interior: 'Here',854 },855 },856 fun: {857 Fungible: buyExecutionFee,858 },859 },860 {861 id: {862 Concrete: {863 parents: 1,864 interior: {865 X2: [866 {867 Parachain: QUARTZ_CHAIN,868 },869 {870 GeneralIndex: collectionId,871 },872 ],873 },874 },875 },876 fun: {877 NonFungible: {878 Index: tokenId,879 },880 },881 },882 ],883 };884885 const feeAssetItem = 0;886887 await helper.xcm.limitedReserveTransferAssets(888 alice,889 destination,890 beneficiary,891 assets,892 feeAssetItem,893 'Unlimited',894 );895896 const maxWaitBlocks = 3;897 const messageSent = await helper.wait.expectEvent(maxWaitBlocks, Event.XcmpQueue.XcmpMessageSent);898899 await usingKaruraPlaygrounds(karuraUrl, async (helper) => {900 const xcmpSuccess = await helper.wait.expectEvent(maxWaitBlocks, Event.XcmpQueue.Success);901 expect(xcmpSuccess.messageHash).to.be.equal(messageSent.messageHash);902 });903 });904});785});905786906// These tests are relevant only when787// These tests are relevant only when