Closed CertainLach closed 2 years ago
This is something that needs investigation as to "why". (However did spot an issue with the types-from-defs
, where BTreeSet
is incorrectly handled, this addresses that issue - https://github.com/polkadot-js/api/pull/4794)
This happens in the cases where an index 0/0 is not available (this is generally the system pallet in Substrate chains) - since indexes can be specified at any value, relying on the default is probably not great... as seen here.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.
Running
Using polkadot.js v8.3.1 (fails with same error on older versions)
With this metadata (Also can be obtained from https://quartz.unique.network): https://gist.githubusercontent.com/CertainLach/a1fef8a3d48a6ba899d205a7420be5b2/raw/5e55bd6a7f75a3e3d10d73d049b55ff84c008db7/metadata.json
Fails with this error: