Adjust capability detection (#3473)

* Adjust capability detection

* Adjust types

* Fully known isU32
This commit is contained in:
Jaco
2021-05-03 15:24:31 +02:00
committed by GitHub
parent c8c535834e
commit a6fcba95de
4 changed files with 22 additions and 31 deletions
+1
View File
@@ -69,6 +69,7 @@ export class MockProvider implements ProviderInterface {
system_chain: (): string => 'mockChain',
system_name: (): string => 'mockClient',
system_properties: (): Record<string, number | string> => ({ ss58Format: 42 }),
system_upgradedToTripleRefCount: () => this.registry.createType('bool', true),
system_version: (): string => '9.8.7'
};