Skip to content

Problem with type generation

In commit fecde4fab7378d3bd76738e3f2886ca1760da069, I came up with a problem:

await this.api.query.identity.identityIndexOf(account.address); returns Codec instead of Option<u32>

And the autocompletion of identityIndexOf is not available, only identityOf, which is strange.