diff --git a/packages/api/src/base/Init.ts b/packages/api/src/base/Init.ts index 67f8242b36f2..03ee7e6f8627 100644 --- a/packages/api/src/base/Init.ts +++ b/packages/api/src/base/Init.ts @@ -396,7 +396,7 @@ export abstract class Init extends Decorate { const metadataApi = apis.find(([a]) => a.eq(blake2AsHex('Metadata', 64))); // This chain does not have support for the metadataApi, or does not have the required version. - if (!metadataApi || metadataApi[1].toNumber() !== 2) { + if (!metadataApi || metadataApi[1].toNumber() >= 2) { l.warn('MetadataApi not available, rpc::state::get_metadata will be used.'); return at