Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Changelog
## 1.5.4 /2025-09-23
* Raw Websocket Logger Inconsistency Fix by @thewhaleking in https://github.com/opentensor/async-substrate-interface/pull/188

**Full Changelog**: https://github.com/opentensor/async-substrate-interface/compare/v1.5.3...v1.5.4

## 1.5.3 /2025-09-16
* edge case query map keys by @thewhaleking in https://github.com/opentensor/async-substrate-interface/pull/186

Expand Down
4 changes: 2 additions & 2 deletions async_substrate_interface/sync_substrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1899,10 +1899,10 @@ def _make_rpc_request(
ws = self.connect(init=False if attempt == 1 else True)
for payload in payloads:
item_id = get_next_id()
to_send = {**payload["payload"], **{"id": item_id}}
to_send = json.dumps({**payload["payload"], **{"id": item_id}})
if self.log_raw_websockets:
raw_websocket_logger.debug(f"WEBSOCKET_SEND> {to_send}")
ws.send(json.dumps(to_send))
ws.send(to_send)
request_manager.add_request(item_id, payload["id"])
logger.debug(
f"Submitted payload ID {payload['id']} with websocket ID {item_id}: {payload}"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "async-substrate-interface"
version = "1.5.3"
version = "1.5.4"
description = "Asyncio library for interacting with substrate. Mostly API-compatible with py-substrate-interface"
readme = "README.md"
license = { file = "LICENSE" }
Expand Down
Loading