Skip to content

Commit

Permalink
fix smoke test for foreign assets
Browse files Browse the repository at this point in the history
  • Loading branch information
noandrea committed Sep 17, 2024
1 parent 733b541 commit e6e4af9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test/suites/smoke/test-foreign-asset-consistency.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

import "@moonbeam-network/api-augment";
import { ApiDecoration } from "@polkadot/api/types";
import { describeSuite, expect, beforeAll } from "@moonwall/cli";
Expand Down Expand Up @@ -40,13 +41,6 @@ describeSuite({
foreignAssetTypeId[assetType] = exposure.unwrap().toString();
});

query = await apiAt.query.assetManager.assetTypeUnitsPerSecond.entries();

query.forEach(([key, _]) => {
const assetType = key.args.toString();
foreignXcmAcceptedAssets.push(assetType);
});

if (specVersion >= 2200) {
liveForeignAssets = (await apiAt.query.assets.asset.entries()).reduce(
(acc, [key, value]) => {
Expand Down

0 comments on commit e6e4af9

Please sign in to comment.