--- a/tests/src/xcm/xcmQuartz.test.ts +++ b/tests/src/xcm/xcmQuartz.test.ts @@ -821,7 +821,7 @@ }; quartzParachainMultilocation = { - V1: { + V2: { parents: 1, interior: { X1: quartzParachainJunction, @@ -830,7 +830,7 @@ }; quartzAccountMultilocation = { - V1: { + V2: { parents: 0, interior: { X1: quartzAccountJunction, @@ -839,7 +839,7 @@ }; quartzCombinedMultilocation = { - V1: { + V2: { parents: 1, interior: { X2: [quartzParachainJunction, quartzAccountJunction], @@ -895,7 +895,7 @@ const destinationParachain = quartzParachainMultilocation; const beneficiary = quartzAccountMultilocation; const assets = { - V1: [{ + V2: [{ id: { Concrete: { parents: 0, @@ -1069,7 +1069,7 @@ 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 @@ }, }; const destination = { - V1: { + V2: { parents: 1, interior: { X2: [ @@ -1139,7 +1139,7 @@ const [targetAccount] = await helper.arrange.createAccounts([targetAccountBalance], alice); const quartzMultilocation = { - V1: { + V2: { parents: 1, interior: { X1: {Parachain: QUARTZ_CHAIN}, @@ -1212,7 +1212,7 @@ const [targetAccount] = await helper.arrange.createAccounts([0n], alice); const quartzMultilocation = { - V1: { + V2: { parents: 1, interior: { X1: { @@ -1341,7 +1341,7 @@ console.log('2. Register asset location on Shiden'); const assetLocation = { - V1: { + V2: { parents: 1, interior: { X1: { --- a/tests/src/xcm/xcmUnique.test.ts +++ b/tests/src/xcm/xcmUnique.test.ts @@ -832,7 +832,7 @@ }; uniqueAccountMultilocation = { - V1: { + V2: { parents: 0, interior: { X1: uniqueAccountJunction, @@ -841,7 +841,7 @@ }; uniqueCombinedMultilocation = { - V1: { + V2: { parents: 1, interior: { X2: [uniqueParachainJunction, uniqueAccountJunction], @@ -897,7 +897,7 @@ const destinationParachain = uniqueParachainMultilocation; const beneficiary = uniqueAccountMultilocation; const assets = { - V1: [{ + V2: [{ id: { Concrete: { parents: 0, @@ -1072,7 +1072,7 @@ 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 @@ }, }; const destination = { - V1: { + V2: { parents: 1, interior: { X2: [ @@ -1142,7 +1142,7 @@ const [targetAccount] = await helper.arrange.createAccounts([targetAccountBalance], alice); const uniqueMultilocation = { - V1: { + V2: { parents: 1, interior: { X1: {Parachain: UNIQUE_CHAIN}, @@ -1215,7 +1215,7 @@ const [targetAccount] = await helper.arrange.createAccounts([0n], alice); const uniqueMultilocation = { - V1: { + V2: { parents: 1, interior: { X1: { @@ -1344,7 +1344,7 @@ console.log('2. Register asset location on Astar'); const assetLocation = { - V1: { + V2: { parents: 1, interior: { X1: {