Skip to content

Commit d731dd5

Browse files
authored
Merge pull request #189 from opentensor/release/1.5.4
2 parents 67bab6c + ab6a4b9 commit d731dd5

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# Changelog
2+
## 1.5.4 /2025-09-23
3+
* Raw Websocket Logger Inconsistency Fix by @thewhaleking in https://github.com/opentensor/async-substrate-interface/pull/188
4+
5+
**Full Changelog**: https://github.com/opentensor/async-substrate-interface/compare/v1.5.3...v1.5.4
6+
27
## 1.5.3 /2025-09-16
38
* edge case query map keys by @thewhaleking in https://github.com/opentensor/async-substrate-interface/pull/186
49

async_substrate_interface/sync_substrate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1899,10 +1899,10 @@ def _make_rpc_request(
18991899
ws = self.connect(init=False if attempt == 1 else True)
19001900
for payload in payloads:
19011901
item_id = get_next_id()
1902-
to_send = {**payload["payload"], **{"id": item_id}}
1902+
to_send = json.dumps({**payload["payload"], **{"id": item_id}})
19031903
if self.log_raw_websockets:
19041904
raw_websocket_logger.debug(f"WEBSOCKET_SEND> {to_send}")
1905-
ws.send(json.dumps(to_send))
1905+
ws.send(to_send)
19061906
request_manager.add_request(item_id, payload["id"])
19071907
logger.debug(
19081908
f"Submitted payload ID {payload['id']} with websocket ID {item_id}: {payload}"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "async-substrate-interface"
3-
version = "1.5.3"
3+
version = "1.5.4"
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)