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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 1.0.0rc12 /2025-02-07
* python 3.9 support by @roman-opentensor in https://github.com/opentensor/async-substrate-interface/pull/33

## 1.0.0rc11 /2025-02-06
* Reuses the websocket for sync Substrate by @thewhaleking in https://github.com/opentensor/async-substrate-interface/pull/29
* Feat/metadata v15 cache by @camfairchild in https://github.com/opentensor/async-substrate-interface/pull/30
Expand Down
4 changes: 3 additions & 1 deletion async_substrate_interface/utils/decoding.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from typing import Union

from bt_decode import AxonInfo, PrometheusInfo


Expand Down Expand Up @@ -29,7 +31,7 @@ def _determine_if_old_runtime_call(runtime_call_def, metadata_v15_value) -> bool
return False


def _bt_decode_to_dict_or_list(obj) -> dict | list[dict]:
def _bt_decode_to_dict_or_list(obj) -> Union[dict, list[dict]]:
if isinstance(obj, list):
return [_bt_decode_to_dict_or_list(item) for item in obj]

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.0.0rc11"
version = "1.0.0rc12"
description = "Asyncio library for interacting with substrate. Mostly API-compatible with py-substrate-interface"
readme = "README.md"
license = { file = "LICENSE" }
Expand Down