difftreelog
fix xcm v3 test (v2 locations)
in: master
2 files changed
tests/src/xcm/xcmQuartz.test.tsdiffbeforeafterboth--- a/tests/src/xcm/xcmQuartz.test.ts
+++ b/tests/src/xcm/xcmQuartz.test.ts
@@ -145,7 +145,7 @@
// (fee for USDT XCM are paid in relay tokens)
await usingRelayPlaygrounds(relayUrl, async (helper) => {
const destination = {
- V2: {
+ V1: {
parents: 0,
interior: {X1: {
Parachain: QUARTZ_CHAIN,
@@ -154,7 +154,7 @@
}};
const beneficiary = {
- V2: {
+ V1: {
parents: 0,
interior: {X1: {
AccountId32: {
@@ -166,7 +166,7 @@
};
const assets = {
- V2: [
+ V1: [
{
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 = {
- V2: {
+ V1: {
parents: 1,
interior: {X1: {
Parachain: QUARTZ_CHAIN,
@@ -200,7 +200,7 @@
}};
const beneficiary = {
- V2: {
+ V1: {
parents: 0,
interior: {X1: {
AccountId32: {
@@ -212,7 +212,7 @@
};
const assets = {
- V2: [
+ V1: [
{
id: {
Concrete: {
@@ -332,7 +332,7 @@
await usingRelayPlaygrounds(relayUrl, async (helper) => {
const destination = {
- V2: {
+ V1: {
parents: 0,
interior: {X1: {
Parachain: QUARTZ_CHAIN,
@@ -341,7 +341,7 @@
}};
const beneficiary = {
- V2: {
+ V1: {
parents: 0,
interior: {X1: {
AccountId32: {
@@ -353,7 +353,7 @@
};
const assets = {
- V2: [
+ V1: [
{
id: {
Concrete: {
@@ -470,7 +470,7 @@
await usingKaruraPlaygrounds(karuraUrl, async (helper) => {
const destination = {
- V2: {
+ V1: {
parents: 1,
interior: {
X1: {
@@ -580,7 +580,7 @@
itSub('Should connect to Karura and send QTZ back', async ({helper}) => {
await usingKaruraPlaygrounds(karuraUrl, async (helper) => {
const destination = {
- V2: {
+ V1: {
parents: 1,
interior: {
X2: [
@@ -644,7 +644,7 @@
itSub('Quartz rejects KAR tokens from Karura', async ({helper}) => {
await usingKaruraPlaygrounds(karuraUrl, async (helper) => {
const destination = {
- V2: {
+ V1: {
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 = {
- V2: {
+ V1: {
id: {
Concrete: {
parents: 1,
@@ -920,7 +920,7 @@
},
};
const destination = {
- V2: {
+ V1: {
parents: 1,
interior: {
X2: [
tests/src/xcm/xcmUnique.test.tsdiffbeforeafterboth145 // (fee for USDT XCM are paid in relay tokens)145 // (fee for USDT XCM are paid in relay tokens)146 await usingRelayPlaygrounds(relayUrl, async (helper) => {146 await usingRelayPlaygrounds(relayUrl, async (helper) => {147 const destination = {147 const destination = {148 V2: {148 V1: {149 parents: 0,149 parents: 0,150 interior: {X1: {150 interior: {X1: {151 Parachain: UNIQUE_CHAIN,151 Parachain: UNIQUE_CHAIN,154 }};154 }};155155156 const beneficiary = {156 const beneficiary = {157 V2: {157 V1: {158 parents: 0,158 parents: 0,159 interior: {X1: {159 interior: {X1: {160 AccountId32: {160 AccountId32: {166 };166 };167167168 const assets = {168 const assets = {169 V2: [169 V1: [170 {170 {171 id: {171 id: {172 Concrete: {172 Concrete: {191 itSub('Should connect and send USDT from Statemint to Unique', async ({helper}) => {191 itSub('Should connect and send USDT from Statemint to Unique', async ({helper}) => {192 await usingStatemintPlaygrounds(statemintUrl, async (helper) => {192 await usingStatemintPlaygrounds(statemintUrl, async (helper) => {193 const dest = {193 const dest = {194 V2: {194 V1: {195 parents: 1,195 parents: 1,196 interior: {X1: {196 interior: {X1: {197 Parachain: UNIQUE_CHAIN,197 Parachain: UNIQUE_CHAIN,200 }};200 }};201201202 const beneficiary = {202 const beneficiary = {203 V2: {203 V1: {204 parents: 0,204 parents: 0,205 interior: {X1: {205 interior: {X1: {206 AccountId32: {206 AccountId32: {212 };212 };213213214 const assets = {214 const assets = {215 V2: [215 V1: [216 {216 {217 id: {217 id: {218 Concrete: {218 Concrete: {332332333 await usingRelayPlaygrounds(relayUrl, async (helper) => {333 await usingRelayPlaygrounds(relayUrl, async (helper) => {334 const destination = {334 const destination = {335 V2: {335 V1: {336 parents: 0,336 parents: 0,337 interior: {X1: {337 interior: {X1: {338 Parachain: UNIQUE_CHAIN,338 Parachain: UNIQUE_CHAIN,341 }};341 }};342342343 const beneficiary = {343 const beneficiary = {344 V2: {344 V1: {345 parents: 0,345 parents: 0,346 interior: {X1: {346 interior: {X1: {347 AccountId32: {347 AccountId32: {353 };353 };354354355 const assets = {355 const assets = {356 V2: [356 V1: [357 {357 {358 id: {358 id: {359 Concrete: {359 Concrete: {470470471 await usingAcalaPlaygrounds(acalaUrl, async (helper) => {471 await usingAcalaPlaygrounds(acalaUrl, async (helper) => {472 const destination = {472 const destination = {473 V2: {473 V1: {474 parents: 1,474 parents: 1,475 interior: {475 interior: {476 X1: {476 X1: {581 itSub('Should connect to Acala and send UNQ back', async ({helper}) => {581 itSub('Should connect to Acala and send UNQ back', async ({helper}) => {582 await usingAcalaPlaygrounds(acalaUrl, async (helper) => {582 await usingAcalaPlaygrounds(acalaUrl, async (helper) => {583 const destination = {583 const destination = {584 V2: {584 V1: {585 parents: 1,585 parents: 1,586 interior: {586 interior: {587 X2: [587 X2: [645 itSub('Unique rejects ACA tokens from Acala', async ({helper}) => {645 itSub('Unique rejects ACA tokens from Acala', async ({helper}) => {646 await usingAcalaPlaygrounds(acalaUrl, async (helper) => {646 await usingAcalaPlaygrounds(acalaUrl, async (helper) => {647 const destination = {647 const destination = {648 V2: {648 V1: {649 parents: 1,649 parents: 1,650 interior: {650 interior: {651 X2: [651 X2: [907 itSub('Should connect to Moonbeam and send UNQ back', async ({helper}) => {907 itSub('Should connect to Moonbeam and send UNQ back', async ({helper}) => {908 await usingMoonbeamPlaygrounds(moonbeamUrl, async (helper) => {908 await usingMoonbeamPlaygrounds(moonbeamUrl, async (helper) => {909 const asset = {909 const asset = {910 V2: {910 V1: {911 id: {911 id: {912 Concrete: {912 Concrete: {913 parents: 1,913 parents: 1,922 },922 },923 };923 };924 const destination = {924 const destination = {925 V2: {925 V1: {926 parents: 1,926 parents: 1,927 interior: {927 interior: {928 X2: [928 X2: [