From f7fea338dcad7751195cf987e3bed63d5ae755fe Mon Sep 17 00:00:00 2001 From: Max Andreev Date: Wed, 05 Apr 2023 08:53:08 +0000 Subject: [PATCH] Use any for Codec --- --- a/tests/package.json +++ b/tests/package.json @@ -103,7 +103,7 @@ "testApiConsts": "yarn _test ./**/apiConsts.test.ts", "testCollators": "RUN_COLLATOR_TESTS=1 yarn _test ./**/collator-selection/**.*test.ts --timeout 49999999", "testCollatorSelection": "RUN_COLLATOR_TESTS=1 yarn _test ./**/collatorSelection.*test.ts --timeout 49999999", - "testIdentity": "RUN_COLLATOR_TESTS=1 yarn _test ./**/identity.*test.ts", + "testIdentity": "RUN_COLLATOR_TESTS=1 yarn _test ./**/identity.*test.ts --timeout 49999999", "testXcmUnique": "RUN_XCM_TESTS=1 yarn _test ./**/xcm/xcmUnique.test.ts", "testXcmQuartz": "RUN_XCM_TESTS=1 yarn _test ./**/xcm/xcmQuartz.test.ts", "testXcmOpal": "RUN_XCM_TESTS=1 yarn _test ./**/xcm/xcmOpal.test.ts", --- a/tests/src/nesting/collectionProperties.test.ts +++ b/tests/src/nesting/collectionProperties.test.ts @@ -235,7 +235,7 @@ itSub('Fails to set properties that exceed the limits', async ({helper}) => { const collection = await helper[testSuite.mode].mintCollection(alice); - const spaceLimit = Number(helper.getApi().consts.unique.maxCollectionPropertiesSize); + const spaceLimit = (helper.getApi().consts.unique.maxCollectionPropertiesSize as any).toNumber(); // Mute the general tx parsing error, too many bytes to process { -- gitstuff