From 68ce51257303fdc4cc79c2c6c1b2d00567a07d8b Mon Sep 17 00:00:00 2001 From: Branislav Kontur Date: Mon, 29 Jul 2024 13:28:13 +0200 Subject: [PATCH] Fix for fungiblesApi (#5944) --- packages/types/src/interfaces/definitions.spec.ts | 2 +- packages/types/src/interfaces/fungibles/runtime.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/types/src/interfaces/definitions.spec.ts b/packages/types/src/interfaces/definitions.spec.ts index 025c94e45b..dfac68c234 100644 --- a/packages/types/src/interfaces/definitions.spec.ts +++ b/packages/types/src/interfaces/definitions.spec.ts @@ -122,7 +122,7 @@ describe('runtime definitions', (): void => { for (const { methods, version } of versions) { describe(`version ${version}`, (): void => { const methodsEntries = Object.entries(methods); - const skipInspectTypes = ['StagingXcmV3MultiLocation', 'StagingXcmV4Location', 'Result, FungiblesAccessError>', 'Result', 'XcmVersionedLocation', 'XcmVersionedAssetId', 'XcmVersionedXcm', 'Result, XcmPaymentApiError>']; + const skipInspectTypes = ['StagingXcmV3MultiLocation', 'StagingXcmV4Location', 'Result, FungiblesAccessError>', 'Result', 'XcmVersionedLocation', 'XcmVersionedAssetId', 'XcmVersionedXcm', 'Result, XcmPaymentApiError>']; for (const [key, { params, type }] of methodsEntries) { describe(`${key}`, (): void => { diff --git a/packages/types/src/interfaces/fungibles/runtime.ts b/packages/types/src/interfaces/fungibles/runtime.ts index 4e65a56e0c..543ca99070 100644 --- a/packages/types/src/interfaces/fungibles/runtime.ts +++ b/packages/types/src/interfaces/fungibles/runtime.ts @@ -30,7 +30,7 @@ export const runtime: DefinitionsCall = { type: 'AccountId' } ], - type: 'Result' + type: 'Result' } }, version: 2