git.delta.rocks / unique-network / refs/commits / b75652834f32

difftreelog

fix opal xcm logs in test

Daniel Shiposha2022-12-21parent: #29cb492.patch.diff
in: master

1 file changed

modifiedtests/src/xcm/xcmOpal.test.tsdiffbeforeafterboth
225225
226 balanceOpalAfter = await helper.balance.getSubstrate(alice.address);226 balanceOpalAfter = await helper.balance.getSubstrate(alice.address);
227
228 console.log(
229 'Opal to Westmint transaction fees on Opal: %s USDT',
230 helper.util.bigIntToDecimals(TRANSFER_AMOUNT - free, ASSET_METADATA_DECIMALS),
231 );
232 console.log(
233 'Opal to Westmint transaction fees on Opal: %s OPL',
234 helper.util.bigIntToDecimals(balanceOpalAfter - balanceOpalBefore),
235 );
227236
228 // commission has not paid in USDT token237 // commission has not paid in USDT token
229 expect(free == TRANSFER_AMOUNT).to.be.true;238 expect(free == TRANSFER_AMOUNT).to.be.true;
230 console.log(
231 'Opal to Westmint transaction fees on Opal: %s USDT',
232 helper.util.bigIntToDecimals(TRANSFER_AMOUNT - free),
233 );
234 // ... and parachain native token239 // ... and parachain native token
235 expect(balanceOpalAfter == balanceOpalBefore).to.be.true;240 expect(balanceOpalAfter == balanceOpalBefore).to.be.true;
236 console.log(
237 'Opal to Westmint transaction fees on Opal: %s WND',
238 helper.util.bigIntToDecimals(balanceOpalAfter - balanceOpalBefore, WESTMINT_DECIMALS),
239 );
240 });241 });
241242
242 itSub('Should connect and send USDT from Unique to Statemine back', async ({helper}) => {243 itSub('Should connect and send USDT from Unique to Statemine back', async ({helper}) => {