Upgrade priority: High. Metadata v12 is the next major version containing structural data exchange changes and will start rolling out to test and live networks in due course.
- Breaking change The
Decorated
(from@polkadot/metadata
) class signature has changed. It now always expects a validMetadata
object to be passed-in, instead of raw data. It is recommended to create aMetadata
object, set it on the registry with.setMetadata
and then only create aDecorated
instance. (Only affects metadata-only users of the API)
Contributed:
- Added support for POW block author extraction (Thanks to https://github.com/sorpaas)
Changes:
- Ensure Metadata retrieval does not pollute the default registry
- When passing
{ nonce: -1 }
tosignAndSend
the API will usesystem.accountNextIndex
to determine the nonce - Ensure that upgrades override old registry types (non-specified in current)
- Support for Metadata v12 with fixed indices
- Cleanups for WebSocket class detection and creation
- Ensure that ignored map params yield an error on
iterKey
- Cater for older chains in derive democracy locks (availability detection)