git.delta.rocks / unique-network / refs/commits / 2d2f157aedaf

difftreelog

fix yarn fix

Daniel Shiposha2023-04-12parent: #1b19b1f.patch.diff
in: master

4 files changed

modifiedtests/src/util/playgrounds/unique.dev.tsdiffbeforeafterboth

no syntactic changes

modifiedtests/src/util/playgrounds/unique.tsdiffbeforeafterboth

no syntactic changes

modifiedtests/src/xcm/xcmQuartz.test.tsdiffbeforeafterboth
689689
690 expect(690 expect(
691 xcmpQueueFailEvent != null,691 xcmpQueueFailEvent != null,
692 `'xcmpQueue.FailEvent' event is expected`,692 '\'xcmpQueue.FailEvent\' event is expected',
693 ).to.be.true;693 ).to.be.true;
694694
695 expect(695 expect(
696 xcmpQueueFailEvent!.isFailedToTransactAsset,696 xcmpQueueFailEvent!.isFailedToTransactAsset,
697 `The XCM error should be 'FailedToTransactAsset'`,697 'The XCM error should be \'FailedToTransactAsset\'',
698 ).to.be.true;698 ).to.be.true;
699699
700 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);700 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);
767767
768 expect(768 expect(
769 xcmpQueueFailEvent != null,769 xcmpQueueFailEvent != null,
770 `'xcmpQueue.FailEvent' event is expected`,770 '\'xcmpQueue.FailEvent\' event is expected',
771 ).to.be.true;771 ).to.be.true;
772772
773 expect(773 expect(
774 xcmpQueueFailEvent!.isUntrustedReserveLocation,774 xcmpQueueFailEvent!.isUntrustedReserveLocation,
775 `The XCM error should be 'isUntrustedReserveLocation'`,775 'The XCM error should be \'isUntrustedReserveLocation\'',
776 ).to.be.true;776 ).to.be.true;
777777
778 const accountBalance = await helper.balance.getSubstrate(targetAccount.address);778 const accountBalance = await helper.balance.getSubstrate(targetAccount.address);
1197 expect(qtzFees == 0n).to.be.true;1197 expect(qtzFees == 0n).to.be.true;
1198 });1198 });
11991199
1200 // eslint-disable-next-line require-await
1200 itSub.skip('Moonriver can send only up to its balance', async ({helper}) => {1201 itSub.skip('Moonriver can send only up to its balance', async ({helper}) => {
1201 throw Error("Not yet implemented");1202 throw Error('Not yet implemented');
1202 });1203 });
12031204
1205 // eslint-disable-next-line require-await
1204 itSub.skip('Should not accept reserve transfer of QTZ from Moonriver', async ({helper}) => {1206 itSub.skip('Should not accept reserve transfer of QTZ from Moonriver', async ({helper}) => {
1205 throw Error("Not yet implemented");1207 throw Error('Not yet implemented');
1206 });1208 });
1207});1209});
12081210
14631465
1464 expect(1466 expect(
1465 xcmpQueueFailEvent != null,1467 xcmpQueueFailEvent != null,
1466 `'xcmpQueue.FailEvent' event is expected`,1468 '\'xcmpQueue.FailEvent\' event is expected',
1467 ).to.be.true;1469 ).to.be.true;
14681470
1469 expect(1471 expect(
1470 xcmpQueueFailEvent!.isFailedToTransactAsset,1472 xcmpQueueFailEvent!.isFailedToTransactAsset,
1471 `The XCM error should be 'FailedToTransactAsset'`,1473 'The XCM error should be \'FailedToTransactAsset\'',
1472 ).to.be.true;1474 ).to.be.true;
14731475
1474 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);1476 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);
15411543
1542 expect(1544 expect(
1543 xcmpQueueFailEvent != null,1545 xcmpQueueFailEvent != null,
1544 `'xcmpQueue.FailEvent' event is expected`,1546 '\'xcmpQueue.FailEvent\' event is expected',
1545 ).to.be.true;1547 ).to.be.true;
15461548
1547 expect(1549 expect(
1548 xcmpQueueFailEvent!.isUntrustedReserveLocation,1550 xcmpQueueFailEvent!.isUntrustedReserveLocation,
1549 `The XCM error should be 'isUntrustedReserveLocation'`,1551 'The XCM error should be \'isUntrustedReserveLocation\'',
1550 ).to.be.true;1552 ).to.be.true;
15511553
1552 const accountBalance = await helper.balance.getSubstrate(targetAccount.address);1554 const accountBalance = await helper.balance.getSubstrate(targetAccount.address);
modifiedtests/src/xcm/xcmUnique.test.tsdiffbeforeafterboth
691691
692 expect(692 expect(
693 xcmpQueueFailEvent != null,693 xcmpQueueFailEvent != null,
694 `'xcmpQueue.FailEvent' event is expected`,694 '\'xcmpQueue.FailEvent\' event is expected',
695 ).to.be.true;695 ).to.be.true;
696696
697 expect(697 expect(
698 xcmpQueueFailEvent!.isFailedToTransactAsset,698 xcmpQueueFailEvent!.isFailedToTransactAsset,
699 `The XCM error should be 'FailedToTransactAsset'`,699 'The XCM error should be \'FailedToTransactAsset\'',
700 ).to.be.true;700 ).to.be.true;
701701
702 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);702 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);
769769
770 expect(770 expect(
771 xcmpQueueFailEvent != null,771 xcmpQueueFailEvent != null,
772 `'xcmpQueue.FailEvent' event is expected`,772 '\'xcmpQueue.FailEvent\' event is expected',
773 ).to.be.true;773 ).to.be.true;
774774
775 expect(775 expect(
776 xcmpQueueFailEvent!.isUntrustedReserveLocation,776 xcmpQueueFailEvent!.isUntrustedReserveLocation,
777 `The XCM error should be 'isUntrustedReserveLocation'`,777 'The XCM error should be \'isUntrustedReserveLocation\'',
778 ).to.be.true;778 ).to.be.true;
779779
780 const accountBalance = await helper.balance.getSubstrate(targetAccount.address);780 const accountBalance = await helper.balance.getSubstrate(targetAccount.address);
1200 expect(unqFees == 0n).to.be.true;1200 expect(unqFees == 0n).to.be.true;
1201 });1201 });
12021202
1203 // eslint-disable-next-line require-await
1203 itSub.skip('Moonbeam can send only up to its balance', async ({helper}) => {1204 itSub.skip('Moonbeam can send only up to its balance', async ({helper}) => {
1204 throw Error("Not yet implemented");1205 throw Error('Not yet implemented');
1205 });1206 });
12061207
1208 // eslint-disable-next-line require-await
1207 itSub.skip('Should not accept reserve transfer of UNQ from Moonbeam', async ({helper}) => {1209 itSub.skip('Should not accept reserve transfer of UNQ from Moonbeam', async ({helper}) => {
1208 throw Error("Not yet implemented");1210 throw Error('Not yet implemented');
1209 });1211 });
1210});1212});
12111213
14651467
1466 expect(1468 expect(
1467 xcmpQueueFailEvent != null,1469 xcmpQueueFailEvent != null,
1468 `'xcmpQueue.FailEvent' event is expected`,1470 '\'xcmpQueue.FailEvent\' event is expected',
1469 ).to.be.true;1471 ).to.be.true;
14701472
1471 expect(1473 expect(
1472 xcmpQueueFailEvent!.isFailedToTransactAsset,1474 xcmpQueueFailEvent!.isFailedToTransactAsset,
1473 `The XCM error should be 'FailedToTransactAsset'`,1475 'The XCM error should be \'FailedToTransactAsset\'',
1474 ).to.be.true;1476 ).to.be.true;
14751477
1476 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);1478 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);
15431545
1544 expect(1546 expect(
1545 xcmpQueueFailEvent != null,1547 xcmpQueueFailEvent != null,
1546 `'xcmpQueue.FailEvent' event is expected`,1548 '\'xcmpQueue.FailEvent\' event is expected',
1547 ).to.be.true;1549 ).to.be.true;
15481550
1549 expect(1551 expect(
1550 xcmpQueueFailEvent!.isUntrustedReserveLocation,1552 xcmpQueueFailEvent!.isUntrustedReserveLocation,
1551 `The XCM error should be 'isUntrustedReserveLocation'`,1553 'The XCM error should be \'isUntrustedReserveLocation\'',
1552 ).to.be.true;1554 ).to.be.true;
15531555
1554 const accountBalance = await helper.balance.getSubstrate(targetAccount.address);1556 const accountBalance = await helper.balance.getSubstrate(targetAccount.address);