Skip to content

Commit bb526e6

Browse files
authored
Merge pull request #3292 from opentensor/release/10.2.0
Release/10.2.0
2 parents c3751f0 + 50b6a9d commit bb526e6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+6975
-1440
lines changed

.github/workflows/e2e-subtensor-tests.yaml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
workflow_dispatch:
1818
inputs:
1919
docker_image_tag:
20-
description: "Docker image tag"
20+
description: "Standard docker image tag (ignored if custom tag is set below)"
2121
required: false
2222
type: choice
2323
default: "devnet-ready"
@@ -26,6 +26,11 @@ on:
2626
- testnet
2727
- devnet
2828
- devnet-ready
29+
custom_image_tag:
30+
description: "Custom docker image tag — overrides selection above (e.g. pr-2441)"
31+
required: false
32+
type: string
33+
default: ""
2934

3035
# job to run tests in parallel
3136
jobs:
@@ -109,16 +114,25 @@ jobs:
109114
id: set-image
110115
env:
111116
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
117+
INPUT_CUSTOM_TAG: ${{ github.event.inputs.custom_image_tag }}
118+
INPUT_CHOICE_TAG: ${{ github.event.inputs.docker_image_tag }}
112119
run: |
113120
echo "Event: $GITHUB_EVENT_NAME"
114121
echo "Branch: $GITHUB_REF_NAME"
115122
116-
# Check if docker_image_tag input is provided (for workflow_dispatch)
117123
if [[ "${GITHUB_EVENT_NAME}" == "workflow_dispatch" ]]; then
118-
docker_tag_input="${{ github.event.inputs.docker_image_tag }}"
119-
if [[ -n "$docker_tag_input" ]]; then
120-
image="ghcr.io/opentensor/subtensor-localnet:${docker_tag_input}"
121-
echo "Using Docker image tag from workflow_dispatch input: ${docker_tag_input}"
124+
custom_tag=$(echo "$INPUT_CUSTOM_TAG" | xargs)
125+
if [[ -n "$custom_tag" ]]; then
126+
image="ghcr.io/opentensor/subtensor-localnet:${custom_tag}"
127+
echo "Using custom docker image tag: ${custom_tag}"
128+
echo "✅ Final selected image: $image"
129+
echo "image=$image" >> "$GITHUB_OUTPUT"
130+
exit 0
131+
fi
132+
133+
if [[ -n "$INPUT_CHOICE_TAG" ]]; then
134+
image="ghcr.io/opentensor/subtensor-localnet:${INPUT_CHOICE_TAG}"
135+
echo "Using standard docker image tag: ${INPUT_CHOICE_TAG}"
122136
echo "✅ Final selected image: $image"
123137
echo "image=$image" >> "$GITHUB_OUTPUT"
124138
exit 0

CHANGELOG.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# Changelog
22

3+
## 10.2.0 /2026-03-19
4+
5+
## What's Changed
6+
* Rework coldkey swap by @basfroman in https://github.com/opentensor/bittensor/pull/3218
7+
* Make SDK consistent with new `Balancer swap` logic by @basfroman in https://github.com/opentensor/bittensor/pull/3250
8+
* Fixes for many chain changes by @basfroman in https://github.com/opentensor/bittensor/pull/3254
9+
* Add subnet buyback extrinsic support to SDK by @basfroman in https://github.com/opentensor/bittensor/pull/3249
10+
* Add py.typed and pkg tools by @thewhaleking in https://github.com/opentensor/bittensor/pull/3253
11+
* Rename `subnet_buyback` extrinsic `to add_stake_burn` by @basfroman in https://github.com/opentensor/bittensor/pull/3256
12+
* fixed fee assumption by @basfroman in https://github.com/opentensor/bittensor/pull/3258
13+
* `get_subnet_prices` uses new runtime api call + fallback by @basfroman in https://github.com/opentensor/bittensor/pull/3259
14+
* docs: update documentation URLs to docs.learnbittensor.org by @droppingbeans in https://github.com/opentensor/bittensor/pull/3257
15+
* docs: fix broken changelog URL and typo in README by @droppingbeans in https://github.com/opentensor/bittensor/pull/3263
16+
* docs: fix branch name 'develop' to 'staging' in hotfix workflow by @droppingbeans in https://github.com/opentensor/bittensor/pull/3266
17+
* Handle scaleobj from asi in fixed_to_float by @thewhaleking in https://github.com/opentensor/bittensor/pull/3265
18+
* fix batching test by @basfroman in https://github.com/opentensor/bittensor/pull/3267
19+
* Technical debt by @basfroman in https://github.com/opentensor/bittensor/pull/3274
20+
* Revert/balancer update by @ibraheem-abe in https://github.com/opentensor/bittensor/pull/3276
21+
* Update e2e gh workflow by @basfroman in https://github.com/opentensor/bittensor/pull/3277
22+
* Fix typo: pacakge → package in README by @droppingbeans in https://github.com/opentensor/bittensor/pull/3272
23+
* docs: fix typos in contrib documentation by @droppingbeans in https://github.com/opentensor/bittensor/pull/3271
24+
* Rework shielded transactions by @basfroman in https://github.com/opentensor/bittensor/pull/3269
25+
* Re enable alpha fees by @basfroman in https://github.com/opentensor/bittensor/pull/3284
26+
* Update/mev shield period by @ibraheem-abe in https://github.com/opentensor/bittensor/pull/3280
27+
* Adds signed commit info to contrib by @thewhaleking in https://github.com/opentensor/bittensor/pull/3289
28+
* Typing improvements related to InfoBase by @thewhaleking in https://github.com/opentensor/bittensor/pull/3288
29+
* Update: Pin btwallet requirement by @ibraheem-abe in https://github.com/opentensor/bittensor/pull/3290
30+
31+
## New Contributors
32+
* @droppingbeans made their first contribution in https://github.com/opentensor/bittensor/pull/3257
33+
34+
**Full Changelog**: https://github.com/opentensor/bittensor/compare/v10.1.0...v10.2.0
35+
336
## 10.1.0 /2026-01-15
437

538
## What's Changed
@@ -16,7 +49,7 @@
1649
* @Dairus01 made their first contribution in https://github.com/opentensor/bittensor/pull/3231
1750
* @Olexandr88 made their first contribution in https://github.com/opentensor/bittensor/pull/3238
1851

19-
**Full Changelog**: https://github.com/opentensor/bittensor/compare/v10.1.0...v10.0.2
52+
**Full Changelog**: https://github.com/opentensor/bittensor/compare/v10.0.1...v10.1.0
2053

2154
## 10.0.1 /2025-12-22
2255

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
## Internet-scale Neural Networks <!-- omit in toc -->
1313

14-
[Discord](https://discord.gg/qasY3HA9F9)[Network](https://taostats.io/)[Research](https://bittensor.com/whitepaper)[Documentation](https://docs.bittensor.com)
14+
[Discord](https://discord.gg/qasY3HA9F9)[Network](https://taostats.io/)[Research](https://bittensor.com/whitepaper)[Documentation](https://docs.learnbittensor.org)
1515

1616
</div>
1717

@@ -45,8 +45,8 @@ Welcome! Bittensor is an open source platform on which you can produce competiti
4545

4646
The Opentensor Foundation (OTF) provides all the open source tools, including this Bittensor SDK, the codebase and the documentation, with step-by-step tutorials and guides, to enable you to participate in the Bittensor ecosystem.
4747

48-
- **Developer documentation**: https://docs.bittensor.com.
49-
- **A Beginner's Q and A on Bittensor**: https://docs.bittensor.com/questions-and-answers.
48+
- **Developer documentation**: https://docs.learnbittensor.org.
49+
- **A Beginner's Q and A on Bittensor**: https://docs.learnbittensor.org/questions-and-answers.
5050
- **Bittensor whitepaper**: https://bittensor.com/whitepaper.
5151

5252
This Bittensor SDK contains ready-to-use Python packages for interacting with the Bittensor ecosystem, writing subnet incentive mechanisms, subnet miners, subnet validators and querying the subtensor (the blockchain part of the Bittensor network).
@@ -74,7 +74,7 @@ This Bittensor SDK codebase is for the Bittensor platform only, designed to help
7474

7575
## Release Notes
7676

77-
See [Bittensor SDK Release Notes](https://docs.bittensor.com/bittensor-rel-notes).
77+
See [Bittensor SDK Release Notes](https://docs.learnbittensor.org/bittensor-rel-notes).
7878

7979
---
8080

@@ -98,7 +98,7 @@ python3 -m pip install --upgrade bittensor
9898
The macOS preinstalled CPython installation is compiled with LibreSSL instead of OpenSSL. There are a number
9999
of issues with LibreSSL, and as such is not fully supported by the libraries used by bittensor. Thus we highly recommend, if
100100
you are using a Mac, to first install Python from [Homebrew](https://brew.sh/). Additionally, the Rust FFI bindings
101-
[if installing from precompiled wheels (default)] require the Homebrew-installed OpenSSL pacakge. If you choose to use
101+
[if installing from precompiled wheels (default)] require the Homebrew-installed OpenSSL package. If you choose to use
102102
the preinstalled Python version from macOS, things may not work completely.
103103

104104
### Installation
@@ -253,7 +253,7 @@ pytest tests/unit_tests
253253
- `LOCALNET_SH_PATH` - path to `localnet.sh` script in cloned subtensor repository (for legacy runner);
254254
- `BUILD_BINARY` - (`=0` or `=1`) - used with `LOCALNET_SH_PATH` for build or not before start localnet node (for legacy runner);
255255
- `USE_DOCKER` - (`=0` or `=1`) - used if you want to use specific runner to run e2e tests (for docker runner);
256-
- `FAST_BLOCKS` - (`=0` or `=1`) - allows you to run a localnet node in fast or non-fast blocks mode (for both types of runers).
256+
- `FAST_BLOCKS` - (`=0` or `=1`) - allows you to run a localnet node in fast or non-fast blocks mode (for both types of runners).
257257
- `SKIP_PULL` - used if you are using a Docker image, but for some reason you want to temporarily limit the logic of updating the image from the repository.
258258

259259
#### Using `docker runner` (default for now):

0 commit comments

Comments
 (0)