From a560e8db71a230bce4546c5c7a25da9b2e211782 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Thu, 26 Jan 2023 12:23:02 +0000 Subject: [PATCH] fix: remove v1 from xcm tests --- --- a/tests/src/xcm/xcmQuartz.test.ts +++ b/tests/src/xcm/xcmQuartz.test.ts @@ -463,13 +463,13 @@ await usingKaruraPlaygrounds(karuraUrl, async (helper) => { const destination = { - V0: { - X2: [ - 'Parent', - { + V1: { + parents: 1, + interior: { + X1: { Parachain: QUARTZ_CHAIN, }, - ], + }, }, }; @@ -494,22 +494,25 @@ itSub('Should connect and send QTZ to Karura', async ({helper}) => { const destination = { - V0: { - X2: [ - 'Parent', - { + V1: { + parents: 1, + interior: { + X1: { Parachain: KARURA_CHAIN, }, - ], + }, }, }; const beneficiary = { - V0: { - X1: { - AccountId32: { - network: 'Any', - id: randomAccount.addressRaw, + V1: { + parents: 0, + interior: { + X1: { + AccountId32: { + network: 'Any', + id: randomAccount.addressRaw, + }, }, }, }, --- a/tests/src/xcm/xcmUnique.test.ts +++ b/tests/src/xcm/xcmUnique.test.ts @@ -463,13 +463,13 @@ await usingAcalaPlaygrounds(acalaUrl, async (helper) => { const destination = { - V0: { - X2: [ - 'Parent', - { + V1: { + parents: 1, + interior: { + X1: { Parachain: UNIQUE_CHAIN, }, - ], + }, }, }; @@ -495,22 +495,25 @@ itSub('Should connect and send UNQ to Acala', async ({helper}) => { const destination = { - V0: { - X2: [ - 'Parent', - { + V1: { + parents: 1, + interior: { + X1: { Parachain: ACALA_CHAIN, }, - ], + }, }, }; const beneficiary = { - V0: { - X1: { - AccountId32: { - network: 'Any', - id: randomAccount.addressRaw, + V1: { + parents: 0, + interior: { + X1: { + AccountId32: { + network: 'Any', + id: randomAccount.addressRaw, + }, }, }, }, -- gitstuff