v1.0.0a1 alpha release
Pre-release
Pre-release
This version is a pre-release and compatible with upcoming MetadataV14
and PortableRegistry
.
It has the following breaking changes:
- All properties of
Struct
SCALE-objects in existing type-registries are now converted from CamelCase to snake_case, to be compatible with generatedPortableRegistry
structs scale_obj.value
always contains a serialised version in Python primitivesscale_obj.serialize()
will contain a human readable formatscale_obj.value_object
contains the full nested SCALE objects if applicable. A short-hand ofscale_obj.value_object[‘accounts’].value_object[0].ss58_address
isscale_obj[‘accounts’][0].ss58_address
. If thescale_obj
is aVec
this will also act as an iterable.- Reformatting of value attributes of many
ScaleType
classes; in particularExtrinsic
andEvent
- Metadata decoding has been completely refactored and should use
MetadataVersioned
in stead of removedMetadataDecoder
- Output format of metadata functions changed
- All
ScaleType
classes moved totypes
sub-package;block
sub-package is removed