Skip to content

Commit 446ea10

Browse files
authored
Merge pull request #25 from opentensor/release/1.0.0rc9
Release/1.0.0rc9
2 parents d3d93e5 + fe1cf11 commit 446ea10

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

Diff for: CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 1.0.0rc9 /2025-01-30
4+
* Fixes decoding account ids
5+
36
## 1.0.0rc8 /2025-01-30
47
* Minor bug fixes
58

Diff for: async_substrate_interface/async_substrate.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
GenericCall,
3131
GenericExtrinsic,
3232
GenericRuntimeCallDefinition,
33-
ss58_decode,
33+
ss58_encode,
3434
)
3535
from websockets.asyncio.client import connect
3636
from websockets.exceptions import ConnectionClosed
@@ -872,7 +872,7 @@ async def decode_scale(
872872
else:
873873
if type_string == "scale_info::0": # Is an AccountId
874874
# Decode AccountId bytes to SS58 address
875-
return bytes.fromhex(ss58_decode(scale_bytes, SS58_FORMAT))
875+
return ss58_encode(scale_bytes, SS58_FORMAT)
876876
else:
877877
await self._wait_for_registry(_attempt, _retries)
878878
obj = decode_by_type_string(type_string, self.registry, scale_bytes)

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "async-substrate-interface"
3-
version = "1.0.0rc8"
3+
version = "1.0.0rc9"
44
description = "Asyncio library for interacting with substrate. Mostly API-compatible with py-substrate-interface"
55
readme = "README.md"
66
license = { file = "LICENSE" }

0 commit comments

Comments
 (0)