diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cca88e..166e9bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## What's Changed +* Updates type for vec acc id by @ibraheem-opentensor in https://github.com/opentensor/async-substrate-interface/pull/45 +* Backmerge main staging 101 by @ibraheem-opentensor in https://github.com/opentensor/async-substrate-interface/pull/48 + +**Full Changelog**: https://github.com/opentensor/async-substrate-interface/compare/v1.0.0...v1.0.1 + ## 1.0.0 /2025-02-13 ## What's new diff --git a/async_substrate_interface/types.py b/async_substrate_interface/types.py index 5b7835c..e192659 100644 --- a/async_substrate_interface/types.py +++ b/async_substrate_interface/types.py @@ -731,7 +731,7 @@ def _encode_scale(self, type_string, value: Any) -> bytes: ## AccountId is a composite type with one, unnamed field return bytes.fromhex(ss58_decode(value, SS58_FORMAT)) - elif type_string == "scale_info::151": # Vec + elif type_string == "scale_info::152": # Vec if not isinstance(value, (list, tuple)): value = [value] diff --git a/pyproject.toml b/pyproject.toml index c865ca6..a70e722 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "async-substrate-interface" -version = "1.0.0" +version = "1.0.1" description = "Asyncio library for interacting with substrate. Mostly API-compatible with py-substrate-interface" readme = "README.md" license = { file = "LICENSE" }