Upgrade priority: Medium if not already on at least 3.3.1. The next upgrade of Kusama/Polkadot requires it.
- Breaking change To support chains with multiple tokens, such as bridges, the
ChainProperties
type now returns an array of tokens and decimals (instead of singular values) in thetoken{Decimals, Symbol}
getters. Additionally, this means that theregistry
interfaces has been changes, toregistry.chainDecimals: number[]
andregistry.chainTokens: string[]
. Where used the[0]
index will return the first value if only interested in a single, for a straight conversion.
Changes:
- Allow for the detection of on-chain capabilities as available (e.g.
AccountData
,ValidatorPrefs
) - Cater for multiple tokens and decimals in the chain the chain
system.properties
(as per the chain specification) - Add a
instances: { [key]: [module1, module2] }
definition in teh bundle types, allowing for multiple instances (e.g. Balances) - Adjust the
api-derive
for balances to retrieve values viainstances
as well as across multiple modules - Ensure all types are registered for all metadata typegen steps
- Add
rpc.payment.queryFeeDetails
RPC endpoint - Update types & metadata to latest Substrate
- Move the
@polkadot/x-rxjs
package into the common repo - Allow doc generation for errors/events (markdown outputs)