--- a/tests/src/xcm/xcmOpal.test.ts +++ b/tests/src/xcm/xcmOpal.test.ts @@ -80,7 +80,7 @@ await usingPlaygrounds(async (helper) => { const location = { - V1: { + V2: { parents: 1, interior: {X3: [ { @@ -111,7 +111,7 @@ // Providing the relay currency to the unique sender account await usingRelayPlaygrounds(relayUrl, async (helper) => { const destination = { - V1: { + V2: { parents: 0, interior: {X1: { Parachain: UNIQUE_CHAIN, @@ -120,7 +120,7 @@ }}; const beneficiary = { - V1: { + V2: { parents: 0, interior: {X1: { AccountId32: { @@ -132,7 +132,7 @@ }; const assets = { - V1: [ + V2: [ { id: { Concrete: { @@ -157,7 +157,7 @@ itSub('Should connect and send USDT from Westmint to Opal', async ({helper}) => { await usingWestmintPlaygrounds(westmintUrl, async (helper) => { const dest = { - V1: { + V2: { parents: 1, interior: {X1: { Parachain: UNIQUE_CHAIN, @@ -166,7 +166,7 @@ }}; const beneficiary = { - V1: { + V2: { parents: 0, interior: {X1: { AccountId32: { @@ -178,7 +178,7 @@ }; const assets = { - V1: [ + V2: [ { id: { Concrete: { @@ -243,7 +243,7 @@ itSub('Should connect and send USDT from Unique to Statemine back', async ({helper}) => { const destination = { - V1: { + V2: { parents: 1, interior: {X2: [ { @@ -301,7 +301,7 @@ // Providing the relay currency to the unique sender account await usingRelayPlaygrounds(relayUrl, async (helper) => { const destination = { - V1: { + V2: { parents: 0, interior: {X1: { Parachain: UNIQUE_CHAIN, @@ -310,7 +310,7 @@ }}; const beneficiary = { - V1: { + V2: { parents: 0, interior: {X1: { AccountId32: { @@ -322,7 +322,7 @@ }; const assets = { - V1: [ + V2: [ { id: { Concrete: { @@ -368,7 +368,7 @@ }); const destination = { - V1: { + V2: { parents: 1, interior: { X1:{ --- a/tests/src/xcm/xcmQuartz.test.ts +++ b/tests/src/xcm/xcmQuartz.test.ts @@ -113,7 +113,7 @@ await usingPlaygrounds(async (helper) => { const location = { - V1: { + V2: { parents: 1, interior: {X3: [ { @@ -145,7 +145,7 @@ // (fee for USDT XCM are paid in relay tokens) await usingRelayPlaygrounds(relayUrl, async (helper) => { const destination = { - V1: { + V2: { parents: 0, interior: {X1: { Parachain: QUARTZ_CHAIN, @@ -154,7 +154,7 @@ }}; const beneficiary = { - V1: { + V2: { parents: 0, interior: {X1: { AccountId32: { @@ -166,7 +166,7 @@ }; const assets = { - V1: [ + V2: [ { id: { Concrete: { @@ -191,7 +191,7 @@ itSub('Should connect and send USDT from Statemine to Quartz', async ({helper}) => { await usingStateminePlaygrounds(statemineUrl, async (helper) => { const dest = { - V1: { + V2: { parents: 1, interior: {X1: { Parachain: QUARTZ_CHAIN, @@ -200,7 +200,7 @@ }}; const beneficiary = { - V1: { + V2: { parents: 0, interior: {X1: { AccountId32: { @@ -212,7 +212,7 @@ }; const assets = { - V1: [ + V2: [ { id: { Concrete: { @@ -276,7 +276,7 @@ itSub('Should connect and send USDT from Quartz to Statemine back', async ({helper}) => { const destination = { - V1: { + V2: { parents: 1, interior: {X2: [ { @@ -332,7 +332,7 @@ await usingRelayPlaygrounds(relayUrl, async (helper) => { const destination = { - V1: { + V2: { parents: 0, interior: {X1: { Parachain: QUARTZ_CHAIN, @@ -341,7 +341,7 @@ }}; const beneficiary = { - V1: { + V2: { parents: 0, interior: {X1: { AccountId32: { @@ -353,7 +353,7 @@ }; const assets = { - V1: [ + V2: [ { id: { Concrete: { @@ -401,7 +401,7 @@ }); const destination = { - V1: { + V2: { parents: 1, interior: { X1:{ @@ -470,7 +470,7 @@ await usingKaruraPlaygrounds(karuraUrl, async (helper) => { const destination = { - V1: { + V2: { parents: 1, interior: { X1: { @@ -501,7 +501,7 @@ itSub('Should connect and send QTZ to Karura', async ({helper}) => { const destination = { - V1: { + V2: { parents: 1, interior: { X1: { @@ -512,7 +512,7 @@ }; const beneficiary = { - V1: { + V2: { parents: 0, interior: { X1: { @@ -526,7 +526,7 @@ }; const assets = { - V1: [ + V2: [ { id: { Concrete: { @@ -580,7 +580,7 @@ itSub('Should connect to Karura and send QTZ back', async ({helper}) => { await usingKaruraPlaygrounds(karuraUrl, async (helper) => { const destination = { - V1: { + V2: { parents: 1, interior: { X2: [ @@ -644,7 +644,7 @@ itSub('Quartz rejects KAR tokens from Karura', async ({helper}) => { await usingKaruraPlaygrounds(karuraUrl, async (helper) => { const destination = { - V1: { + V2: { parents: 1, interior: { X2: [ @@ -865,7 +865,7 @@ NativeAssetId: 'Here', }; const dest = { - V1: { + V2: { parents: 1, interior: { X2: [ @@ -905,7 +905,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, @@ -920,7 +920,7 @@ }, }; const destination = { - V1: { + V2: { parents: 1, interior: { X2: [ --- a/tests/src/xcm/xcmUnique.test.ts +++ b/tests/src/xcm/xcmUnique.test.ts @@ -113,7 +113,7 @@ await usingPlaygrounds(async (helper) => { const location = { - V1: { + V2: { parents: 1, interior: {X3: [ { @@ -145,7 +145,7 @@ // (fee for USDT XCM are paid in relay tokens) await usingRelayPlaygrounds(relayUrl, async (helper) => { const destination = { - V1: { + V2: { parents: 0, interior: {X1: { Parachain: UNIQUE_CHAIN, @@ -154,7 +154,7 @@ }}; const beneficiary = { - V1: { + V2: { parents: 0, interior: {X1: { AccountId32: { @@ -166,7 +166,7 @@ }; const assets = { - V1: [ + V2: [ { id: { Concrete: { @@ -191,7 +191,7 @@ itSub('Should connect and send USDT from Statemint to Unique', async ({helper}) => { await usingStatemintPlaygrounds(statemintUrl, async (helper) => { const dest = { - V1: { + V2: { parents: 1, interior: {X1: { Parachain: UNIQUE_CHAIN, @@ -200,7 +200,7 @@ }}; const beneficiary = { - V1: { + V2: { parents: 0, interior: {X1: { AccountId32: { @@ -212,7 +212,7 @@ }; const assets = { - V1: [ + V2: [ { id: { Concrete: { @@ -276,7 +276,7 @@ itSub('Should connect and send USDT from Unique to Statemint back', async ({helper}) => { const destination = { - V1: { + V2: { parents: 1, interior: {X2: [ { @@ -332,7 +332,7 @@ await usingRelayPlaygrounds(relayUrl, async (helper) => { const destination = { - V1: { + V2: { parents: 0, interior: {X1: { Parachain: UNIQUE_CHAIN, @@ -341,7 +341,7 @@ }}; const beneficiary = { - V1: { + V2: { parents: 0, interior: {X1: { AccountId32: { @@ -353,7 +353,7 @@ }; const assets = { - V1: [ + V2: [ { id: { Concrete: { @@ -401,7 +401,7 @@ }); const destination = { - V1: { + V2: { parents: 1, interior: { X1:{ @@ -470,7 +470,7 @@ await usingAcalaPlaygrounds(acalaUrl, async (helper) => { const destination = { - V1: { + V2: { parents: 1, interior: { X1: { @@ -502,7 +502,7 @@ itSub('Should connect and send UNQ to Acala', async ({helper}) => { const destination = { - V1: { + V2: { parents: 1, interior: { X1: { @@ -513,7 +513,7 @@ }; const beneficiary = { - V1: { + V2: { parents: 0, interior: { X1: { @@ -527,7 +527,7 @@ }; const assets = { - V1: [ + V2: [ { id: { Concrete: { @@ -581,7 +581,7 @@ itSub('Should connect to Acala and send UNQ back', async ({helper}) => { await usingAcalaPlaygrounds(acalaUrl, async (helper) => { const destination = { - V1: { + V2: { parents: 1, interior: { X2: [ @@ -645,7 +645,7 @@ itSub('Unique rejects ACA tokens from Acala', async ({helper}) => { await usingAcalaPlaygrounds(acalaUrl, async (helper) => { const destination = { - V1: { + V2: { parents: 1, interior: { X2: [ @@ -866,7 +866,7 @@ NativeAssetId: 'Here', }; const dest = { - V1: { + V2: { parents: 1, interior: { X2: [ @@ -907,7 +907,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, @@ -922,7 +922,7 @@ }, }; const destination = { - V1: { + V2: { parents: 1, interior: { X2: [