difftreelog
fix xcm error event log
in: master
2 files changed
tests/src/xcm/xcmQuartz.test.tsdiffbeforeafterboth695695696 expect(696 expect(697 xcmpQueueFailEvent!.isFailedToTransactAsset,697 xcmpQueueFailEvent!.isFailedToTransactAsset,698 'The XCM error should be \'FailedToTransactAsset\'',698 `The XCM error should be 'FailedToTransactAsset', got '${xcmpQueueFailEvent!.toHuman()}'`,699 ).to.be.true;699 ).to.be.true;700700701 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);701 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);787787788 expect(788 expect(789 xcmpQueueFailEvent!.isUntrustedReserveLocation,789 xcmpQueueFailEvent!.isUntrustedReserveLocation,790 'The XCM error should be \'isUntrustedReserveLocation\'',790 `The XCM error should be 'UntrustedReserveLocation', got '${xcmpQueueFailEvent!.toHuman()}'`,791 ).to.be.true;791 ).to.be.true;792792793 let accountBalance = await helper.balance.getSubstrate(targetAccount.address);793 let accountBalance = await helper.balance.getSubstrate(targetAccount.address);812812813 expect(813 expect(814 xcmpQueueFailEvent!.isUntrustedReserveLocation,814 xcmpQueueFailEvent!.isUntrustedReserveLocation,815 'The XCM error should be \'isUntrustedReserveLocation\'',815 `The XCM error should be 'UntrustedReserveLocation', got '${xcmpQueueFailEvent!.toHuman()}'`,816 ).to.be.true;816 ).to.be.true;817817818 accountBalance = await helper.balance.getSubstrate(targetAccount.address);818 accountBalance = await helper.balance.getSubstrate(targetAccount.address);901901902 expect(902 expect(903 xcmpQueueFailEvent!.isFailedToTransactAsset,903 xcmpQueueFailEvent!.isFailedToTransactAsset,904 `[reject ${network} tokens] The XCM error should be 'FailedToTransactAsset'`,904 `[reject ${network} tokens] The XCM error should be 'FailedToTransactAsset', got '${xcmpQueueFailEvent!.toHuman()}'`,905 ).to.be.true;905 ).to.be.true;906 };906 };907907121912191220 expect(1220 expect(1221 xcmpQueueFailEvent!.isFailedToTransactAsset,1221 xcmpQueueFailEvent!.isFailedToTransactAsset,1222 'The XCM error should be \'FailedToTransactAsset\'',1222 `The XCM error should be 'FailedToTransactAsset', got '${xcmpQueueFailEvent!.toHuman()}'`,1223 ).to.be.true;1223 ).to.be.true;122412241225 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);1225 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);131913191320 expect(1320 expect(1321 xcmpQueueFailEvent!.isUntrustedReserveLocation,1321 xcmpQueueFailEvent!.isUntrustedReserveLocation,1322 'The XCM error should be \'isUntrustedReserveLocation\'',1322 `The XCM error should be 'isUntrustedReserveLocation', got '${xcmpQueueFailEvent!.toHuman()}'`,1323 ).to.be.true;1323 ).to.be.true;132413241325 let accountBalance = await helper.balance.getSubstrate(targetAccount.address);1325 let accountBalance = await helper.balance.getSubstrate(targetAccount.address);134813481349 expect(1349 expect(1350 xcmpQueueFailEvent!.isUntrustedReserveLocation,1350 xcmpQueueFailEvent!.isUntrustedReserveLocation,1351 'The XCM error should be \'isUntrustedReserveLocation\'',1351 `The XCM error should be 'isUntrustedReserveLocation', got '${xcmpQueueFailEvent!.toHuman()}'`,1352 ).to.be.true;1352 ).to.be.true;135313531354 accountBalance = await helper.balance.getSubstrate(targetAccount.address);1354 accountBalance = await helper.balance.getSubstrate(targetAccount.address);162016201621 expect(1621 expect(1622 xcmpQueueFailEvent!.isFailedToTransactAsset,1622 xcmpQueueFailEvent!.isFailedToTransactAsset,1623 'The XCM error should be \'FailedToTransactAsset\'',1623 `The XCM error should be 'FailedToTransactAsset', got '${xcmpQueueFailEvent!.toHuman()}'`,1624 ).to.be.true;1624 ).to.be.true;162516251626 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);1626 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);171217121713 expect(1713 expect(1714 xcmpQueueFailEvent!.isUntrustedReserveLocation,1714 xcmpQueueFailEvent!.isUntrustedReserveLocation,1715 'The XCM error should be \'isUntrustedReserveLocation\'',1715 `The XCM error should be 'isUntrustedReserveLocation', got '${xcmpQueueFailEvent!.toHuman()}'`,1716 ).to.be.true;1716 ).to.be.true;171717171718 let accountBalance = await helper.balance.getSubstrate(targetAccount.address);1718 let accountBalance = await helper.balance.getSubstrate(targetAccount.address);173717371738 expect(1738 expect(1739 xcmpQueueFailEvent!.isUntrustedReserveLocation,1739 xcmpQueueFailEvent!.isUntrustedReserveLocation,1740 'The XCM error should be \'isUntrustedReserveLocation\'',1740 `The XCM error should be 'isUntrustedReserveLocation', got '${xcmpQueueFailEvent!.toHuman()}'`,1741 ).to.be.true;1741 ).to.be.true;174217421743 accountBalance = await helper.balance.getSubstrate(targetAccount.address);1743 accountBalance = await helper.balance.getSubstrate(targetAccount.address);tests/src/xcm/xcmUnique.test.tsdiffbeforeafterboth697697698 expect(698 expect(699 xcmpQueueFailEvent!.isFailedToTransactAsset,699 xcmpQueueFailEvent!.isFailedToTransactAsset,700 'The XCM error should be \'FailedToTransactAsset\'',700 `The XCM error should be 'FailedToTransactAsset', got '${xcmpQueueFailEvent!.toHuman()}'`,701 ).to.be.true;701 ).to.be.true;702702703 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);703 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);789789790 expect(790 expect(791 xcmpQueueFailEvent!.isUntrustedReserveLocation,791 xcmpQueueFailEvent!.isUntrustedReserveLocation,792 'The XCM error should be \'isUntrustedReserveLocation\'',792 `The XCM error should be 'UntrustedReserveLocation', got '${xcmpQueueFailEvent!.toHuman()}'`,793 ).to.be.true;793 ).to.be.true;794794795 let accountBalance = await helper.balance.getSubstrate(targetAccount.address);795 let accountBalance = await helper.balance.getSubstrate(targetAccount.address);814814815 expect(815 expect(816 xcmpQueueFailEvent!.isUntrustedReserveLocation,816 xcmpQueueFailEvent!.isUntrustedReserveLocation,817 'The XCM error should be \'isUntrustedReserveLocation\'',817 `The XCM error should be 'UntrustedReserveLocation', got '${xcmpQueueFailEvent!.toHuman()}'`,818 ).to.be.true;818 ).to.be.true;819819820 accountBalance = await helper.balance.getSubstrate(targetAccount.address);820 accountBalance = await helper.balance.getSubstrate(targetAccount.address);903903904 expect(904 expect(905 xcmpQueueFailEvent!.isFailedToTransactAsset,905 xcmpQueueFailEvent!.isFailedToTransactAsset,906 `[reject ${network} tokens] The XCM error should be 'FailedToTransactAsset'`,906 `[reject ${network} tokens] The XCM error should be 'FailedToTransactAsset', got '${xcmpQueueFailEvent!.toHuman()}'`,907 ).to.be.true;907 ).to.be.true;908 };908 };909909122212221223 expect(1223 expect(1224 xcmpQueueFailEvent!.isFailedToTransactAsset,1224 xcmpQueueFailEvent!.isFailedToTransactAsset,1225 'The XCM error should be \'FailedToTransactAsset\'',1225 `The XCM error should be 'FailedToTransactAsset', got '${xcmpQueueFailEvent!.toHuman()}'`,1226 ).to.be.true;1226 ).to.be.true;122712271228 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);1228 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);132213221323 expect(1323 expect(1324 xcmpQueueFailEvent!.isUntrustedReserveLocation,1324 xcmpQueueFailEvent!.isUntrustedReserveLocation,1325 'The XCM error should be \'isUntrustedReserveLocation\'',1325 `The XCM error should be 'UntrustedReserveLocation', got '${xcmpQueueFailEvent!.toHuman()}'`,1326 ).to.be.true;1326 ).to.be.true;132713271328 let accountBalance = await helper.balance.getSubstrate(targetAccount.address);1328 let accountBalance = await helper.balance.getSubstrate(targetAccount.address);135113511352 expect(1352 expect(1353 xcmpQueueFailEvent!.isUntrustedReserveLocation,1353 xcmpQueueFailEvent!.isUntrustedReserveLocation,1354 'The XCM error should be \'isUntrustedReserveLocation\'',1354 `The XCM error should be 'UntrustedReserveLocation', got '${xcmpQueueFailEvent!.toHuman()}'`,1355 ).to.be.true;1355 ).to.be.true;135613561357 accountBalance = await helper.balance.getSubstrate(targetAccount.address);1357 accountBalance = await helper.balance.getSubstrate(targetAccount.address);162216221623 expect(1623 expect(1624 xcmpQueueFailEvent!.isFailedToTransactAsset,1624 xcmpQueueFailEvent!.isFailedToTransactAsset,1625 'The XCM error should be \'FailedToTransactAsset\'',1625 `The XCM error should be 'FailedToTransactAsset', got '${xcmpQueueFailEvent!.toHuman()}'`,1626 ).to.be.true;1626 ).to.be.true;162716271628 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);1628 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);171417141715 expect(1715 expect(1716 xcmpQueueFailEvent!.isUntrustedReserveLocation,1716 xcmpQueueFailEvent!.isUntrustedReserveLocation,1717 'The XCM error should be \'isUntrustedReserveLocation\'',1717 `The XCM error should be 'UntrustedReserveLocation', got '${xcmpQueueFailEvent!.toHuman()}'`,1718 ).to.be.true;1718 ).to.be.true;171917191720 let accountBalance = await helper.balance.getSubstrate(targetAccount.address);1720 let accountBalance = await helper.balance.getSubstrate(targetAccount.address);173917391740 expect(1740 expect(1741 xcmpQueueFailEvent!.isUntrustedReserveLocation,1741 xcmpQueueFailEvent!.isUntrustedReserveLocation,1742 'The XCM error should be \'isUntrustedReserveLocation\'',1742 `The XCM error should be 'UntrustedReserveLocation', got '${xcmpQueueFailEvent!.toHuman()}'`,1743 ).to.be.true;1743 ).to.be.true;174417441745 accountBalance = await helper.balance.getSubstrate(targetAccount.address);1745 accountBalance = await helper.balance.getSubstrate(targetAccount.address);