Skip to content

Commit

Permalink
update amounts & snapshots again
Browse files Browse the repository at this point in the history
  • Loading branch information
pLabarta committed Feb 19, 2025
1 parent 6b63f74 commit e1b6ca6
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ describeSuite({
title: "Costs of creating a Foreign Asset via XCM",
foundationMethods: "dev",
testCases: ({ context, it, log }) => {
const paraId = 9999;
const paraId = 4444;
let paraSovereignAccount;

const feeAmount = 352_108_387_500_000n; // 1000 tokens
const feeAmount = 355_233_387_500_000n; // 1000 tokens
const depositAmount = 100_000_000_000_000_000_000n; // 100 tokens
const fundAmount = feeAmount + depositAmount;

Expand All @@ -35,8 +35,7 @@ describeSuite({
title: "Cannot create if location already exists",
test: async function () {
const balanceBefore = await getFreeBalance(paraSovereignAccount, context);
expect(balanceBefore).toMatchInlineSnapshot(`100000352108387500000n`);

expect(balanceBefore).toMatchInlineSnapshot(`100000355233387500000n`);
const createForeignAssetCall = context
.polkadotJs()
.tx.evmForeignAssets.createForeignAsset(assetId, assetLocation, 18, "TEST", "TEST");
Expand Down

0 comments on commit e1b6ca6

Please sign in to comment.