Skip to content

Commit

Permalink
fix xcm tests - bnc require more tokens to be transferred
Browse files Browse the repository at this point in the history
  • Loading branch information
goncer committed Nov 3, 2023
1 parent 71b2ac9 commit 44905a5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/xcm/[V3]RU.bifrost.transfer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import XcmNetworks from "../../utils/Framework/XcmNetworks";
import { alice, api, setupApi, setupUsers } from "../../utils/setup";
import { expectEvent, expectJson } from "../../utils/validators";
import { Assets } from "../../utils/Assets";

/**
* @group xcm
*/
Expand Down Expand Up @@ -93,7 +94,7 @@ describe("XCM transfers", () => {
const mgaSdk = Mangata.instance([mangata.uri]);
await mgaSdk.xTokens.withdraw({
account: alice.keyRingPair,
amount: AssetId.Bnc.unit.mul(BN_TEN.add(BN_TEN)),
amount: AssetId.Bnc.unit.mul(BN_HUNDRED.add(BN_TEN)),
destinationAddress: alice.keyRingPair.address,
parachainId: 2001,
tokenSymbol: "BNC",
Expand All @@ -103,6 +104,7 @@ describe("XCM transfers", () => {
await bifrost.chain.newBlock();
//END-TODO
});

it("[ BNC V3 -> MGA -> BNC V3 ] send BNC to mangata and back", async () => {
const mgaSdk = Mangata.instance([mangata.uri]);
const target = ChainSpecs.get(ChainId.Mg)!;
Expand All @@ -115,7 +117,7 @@ describe("XCM transfers", () => {
Concrete: asset.location,
},
fun: {
Fungible: AssetId.ImbueBncV3.unit.mul(BN_TEN),
Fungible: AssetId.Bnc.unit.mul(BN_HUNDRED),
},
},
},
Expand Down

0 comments on commit 44905a5

Please sign in to comment.