File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
async_substrate_interface Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 3030 GenericCall ,
3131 GenericExtrinsic ,
3232 GenericRuntimeCallDefinition ,
33- ss58_decode ,
33+ ss58_encode ,
3434)
3535from websockets .asyncio .client import connect
3636from 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 )
Original file line number Diff line number Diff line change 11[project ]
22name = " async-substrate-interface"
3- version = " 1.0.0rc8 "
3+ version = " 1.0.0rc9 "
44description = " Asyncio library for interacting with substrate. Mostly API-compatible with py-substrate-interface"
55readme = " README.md"
66license = { file = " LICENSE" }
You can’t perform that action at this time.
0 commit comments