diff --git a/tests/src/xcm/xcmQuartz.test.ts b/tests/src/xcm/xcmQuartz.test.ts index e966836960..6f99fd4676 100644 --- a/tests/src/xcm/xcmQuartz.test.ts +++ b/tests/src/xcm/xcmQuartz.test.ts @@ -821,7 +821,7 @@ describeXCM('[XCM] Integration test: Quartz rejects non-native tokens', () => { }; quartzParachainMultilocation = { - V1: { + V2: { parents: 1, interior: { X1: quartzParachainJunction, @@ -830,7 +830,7 @@ describeXCM('[XCM] Integration test: Quartz rejects non-native tokens', () => { }; quartzAccountMultilocation = { - V1: { + V2: { parents: 0, interior: { X1: quartzAccountJunction, @@ -839,7 +839,7 @@ describeXCM('[XCM] Integration test: Quartz rejects non-native tokens', () => { }; quartzCombinedMultilocation = { - V1: { + V2: { parents: 1, interior: { X2: [quartzParachainJunction, quartzAccountJunction], @@ -895,7 +895,7 @@ describeXCM('[XCM] Integration test: Quartz rejects non-native tokens', () => { const destinationParachain = quartzParachainMultilocation; const beneficiary = quartzAccountMultilocation; const assets = { - V1: [{ + V2: [{ id: { Concrete: { parents: 0, @@ -1069,7 +1069,7 @@ describeXCM('[XCM] Integration test: Exchanging QTZ with Moonriver', () => { itSub('Should connect to Moonriver and send QTZ back', async ({helper}) => { await usingMoonriverPlaygrounds(moonriverUrl, async (helper) => { const asset = { - V1: { + V2: { id: { Concrete: { parents: 1, @@ -1084,7 +1084,7 @@ describeXCM('[XCM] Integration test: Exchanging QTZ with Moonriver', () => { }, }; const destination = { - V1: { + V2: { parents: 1, interior: { X2: [ @@ -1139,7 +1139,7 @@ describeXCM('[XCM] Integration test: Exchanging QTZ with Moonriver', () => { const [targetAccount] = await helper.arrange.createAccounts([targetAccountBalance], alice); const quartzMultilocation = { - V1: { + V2: { parents: 1, interior: { X1: {Parachain: QUARTZ_CHAIN}, @@ -1212,7 +1212,7 @@ describeXCM('[XCM] Integration test: Exchanging QTZ with Moonriver', () => { const [targetAccount] = await helper.arrange.createAccounts([0n], alice); const quartzMultilocation = { - V1: { + V2: { parents: 1, interior: { X1: { @@ -1341,7 +1341,7 @@ describeXCM('[XCM] Integration test: Exchanging tokens with Shiden', () => { console.log('2. Register asset location on Shiden'); const assetLocation = { - V1: { + V2: { parents: 1, interior: { X1: { diff --git a/tests/src/xcm/xcmUnique.test.ts b/tests/src/xcm/xcmUnique.test.ts index ce66748b91..c8c8321fec 100644 --- a/tests/src/xcm/xcmUnique.test.ts +++ b/tests/src/xcm/xcmUnique.test.ts @@ -832,7 +832,7 @@ describeXCM('[XCM] Integration test: Unique rejects non-native tokens', () => { }; uniqueAccountMultilocation = { - V1: { + V2: { parents: 0, interior: { X1: uniqueAccountJunction, @@ -841,7 +841,7 @@ describeXCM('[XCM] Integration test: Unique rejects non-native tokens', () => { }; uniqueCombinedMultilocation = { - V1: { + V2: { parents: 1, interior: { X2: [uniqueParachainJunction, uniqueAccountJunction], @@ -897,7 +897,7 @@ describeXCM('[XCM] Integration test: Unique rejects non-native tokens', () => { const destinationParachain = uniqueParachainMultilocation; const beneficiary = uniqueAccountMultilocation; const assets = { - V1: [{ + V2: [{ id: { Concrete: { parents: 0, @@ -1072,7 +1072,7 @@ describeXCM('[XCM] Integration test: Exchanging UNQ with Moonbeam', () => { itSub('Should connect to Moonbeam and send UNQ back', async ({helper}) => { await usingMoonbeamPlaygrounds(moonbeamUrl, async (helper) => { const asset = { - V1: { + V2: { id: { Concrete: { parents: 1, @@ -1087,7 +1087,7 @@ describeXCM('[XCM] Integration test: Exchanging UNQ with Moonbeam', () => { }, }; const destination = { - V1: { + V2: { parents: 1, interior: { X2: [ @@ -1142,7 +1142,7 @@ describeXCM('[XCM] Integration test: Exchanging UNQ with Moonbeam', () => { const [targetAccount] = await helper.arrange.createAccounts([targetAccountBalance], alice); const uniqueMultilocation = { - V1: { + V2: { parents: 1, interior: { X1: {Parachain: UNIQUE_CHAIN}, @@ -1215,7 +1215,7 @@ describeXCM('[XCM] Integration test: Exchanging UNQ with Moonbeam', () => { const [targetAccount] = await helper.arrange.createAccounts([0n], alice); const uniqueMultilocation = { - V1: { + V2: { parents: 1, interior: { X1: { @@ -1344,7 +1344,7 @@ describeXCM('[XCM] Integration test: Exchanging tokens with Astar', () => { console.log('2. Register asset location on Astar'); const assetLocation = { - V1: { + V2: { parents: 1, interior: { X1: {