difftreelog
Use XCM V2
in: master
2 files changed
tests/src/xcm/xcmQuartz.test.tsdiffbeforeafterboth821 };821 };822822823 quartzParachainMultilocation = {823 quartzParachainMultilocation = {824 V1: {824 V2: {825 parents: 1,825 parents: 1,826 interior: {826 interior: {827 X1: quartzParachainJunction,827 X1: quartzParachainJunction,830 };830 };831831832 quartzAccountMultilocation = {832 quartzAccountMultilocation = {833 V1: {833 V2: {834 parents: 0,834 parents: 0,835 interior: {835 interior: {836 X1: quartzAccountJunction,836 X1: quartzAccountJunction,839 };839 };840840841 quartzCombinedMultilocation = {841 quartzCombinedMultilocation = {842 V1: {842 V2: {843 parents: 1,843 parents: 1,844 interior: {844 interior: {845 X2: [quartzParachainJunction, quartzAccountJunction],845 X2: [quartzParachainJunction, quartzAccountJunction],895 const destinationParachain = quartzParachainMultilocation;895 const destinationParachain = quartzParachainMultilocation;896 const beneficiary = quartzAccountMultilocation;896 const beneficiary = quartzAccountMultilocation;897 const assets = {897 const assets = {898 V1: [{898 V2: [{899 id: {899 id: {900 Concrete: {900 Concrete: {901 parents: 0,901 parents: 0,1069 itSub('Should connect to Moonriver and send QTZ back', async ({helper}) => {1069 itSub('Should connect to Moonriver and send QTZ back', async ({helper}) => {1070 await usingMoonriverPlaygrounds(moonriverUrl, async (helper) => {1070 await usingMoonriverPlaygrounds(moonriverUrl, async (helper) => {1071 const asset = {1071 const asset = {1072 V1: {1072 V2: {1073 id: {1073 id: {1074 Concrete: {1074 Concrete: {1075 parents: 1,1075 parents: 1,1084 },1084 },1085 };1085 };1086 const destination = {1086 const destination = {1087 V1: {1087 V2: {1088 parents: 1,1088 parents: 1,1089 interior: {1089 interior: {1090 X2: [1090 X2: [1139 const [targetAccount] = await helper.arrange.createAccounts([targetAccountBalance], alice);1139 const [targetAccount] = await helper.arrange.createAccounts([targetAccountBalance], alice);114011401141 const quartzMultilocation = {1141 const quartzMultilocation = {1142 V1: {1142 V2: {1143 parents: 1,1143 parents: 1,1144 interior: {1144 interior: {1145 X1: {Parachain: QUARTZ_CHAIN},1145 X1: {Parachain: QUARTZ_CHAIN},1212 const [targetAccount] = await helper.arrange.createAccounts([0n], alice);1212 const [targetAccount] = await helper.arrange.createAccounts([0n], alice);121312131214 const quartzMultilocation = {1214 const quartzMultilocation = {1215 V1: {1215 V2: {1216 parents: 1,1216 parents: 1,1217 interior: {1217 interior: {1218 X1: {1218 X1: {134113411342 console.log('2. Register asset location on Shiden');1342 console.log('2. Register asset location on Shiden');1343 const assetLocation = {1343 const assetLocation = {1344 V1: {1344 V2: {1345 parents: 1,1345 parents: 1,1346 interior: {1346 interior: {1347 X1: {1347 X1: {tests/src/xcm/xcmUnique.test.tsdiffbeforeafterboth832 };832 };833833834 uniqueAccountMultilocation = {834 uniqueAccountMultilocation = {835 V1: {835 V2: {836 parents: 0,836 parents: 0,837 interior: {837 interior: {838 X1: uniqueAccountJunction,838 X1: uniqueAccountJunction,841 };841 };842842843 uniqueCombinedMultilocation = {843 uniqueCombinedMultilocation = {844 V1: {844 V2: {845 parents: 1,845 parents: 1,846 interior: {846 interior: {847 X2: [uniqueParachainJunction, uniqueAccountJunction],847 X2: [uniqueParachainJunction, uniqueAccountJunction],897 const destinationParachain = uniqueParachainMultilocation;897 const destinationParachain = uniqueParachainMultilocation;898 const beneficiary = uniqueAccountMultilocation;898 const beneficiary = uniqueAccountMultilocation;899 const assets = {899 const assets = {900 V1: [{900 V2: [{901 id: {901 id: {902 Concrete: {902 Concrete: {903 parents: 0,903 parents: 0,1072 itSub('Should connect to Moonbeam and send UNQ back', async ({helper}) => {1072 itSub('Should connect to Moonbeam and send UNQ back', async ({helper}) => {1073 await usingMoonbeamPlaygrounds(moonbeamUrl, async (helper) => {1073 await usingMoonbeamPlaygrounds(moonbeamUrl, async (helper) => {1074 const asset = {1074 const asset = {1075 V1: {1075 V2: {1076 id: {1076 id: {1077 Concrete: {1077 Concrete: {1078 parents: 1,1078 parents: 1,1087 },1087 },1088 };1088 };1089 const destination = {1089 const destination = {1090 V1: {1090 V2: {1091 parents: 1,1091 parents: 1,1092 interior: {1092 interior: {1093 X2: [1093 X2: [1142 const [targetAccount] = await helper.arrange.createAccounts([targetAccountBalance], alice);1142 const [targetAccount] = await helper.arrange.createAccounts([targetAccountBalance], alice);114311431144 const uniqueMultilocation = {1144 const uniqueMultilocation = {1145 V1: {1145 V2: {1146 parents: 1,1146 parents: 1,1147 interior: {1147 interior: {1148 X1: {Parachain: UNIQUE_CHAIN},1148 X1: {Parachain: UNIQUE_CHAIN},1215 const [targetAccount] = await helper.arrange.createAccounts([0n], alice);1215 const [targetAccount] = await helper.arrange.createAccounts([0n], alice);121612161217 const uniqueMultilocation = {1217 const uniqueMultilocation = {1218 V1: {1218 V2: {1219 parents: 1,1219 parents: 1,1220 interior: {1220 interior: {1221 X1: {1221 X1: {134413441345 console.log('2. Register asset location on Astar');1345 console.log('2. Register asset location on Astar');1346 const assetLocation = {1346 const assetLocation = {1347 V1: {1347 V2: {1348 parents: 1,1348 parents: 1,1349 interior: {1349 interior: {1350 X1: {1350 X1: {