Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
c32f7e7
WIP
thewhaleking Oct 27, 2025
9033156
WIP
thewhaleking Oct 28, 2025
f45e98e
Nvm
thewhaleking Oct 28, 2025
68a2d73
Better switching to archive
thewhaleking Oct 28, 2025
2f17683
Ruff
thewhaleking Oct 28, 2025
0777571
fix: replace broad exception catches with specific exception types
Dec 19, 2025
4cd6875
Merge branch 'staging' into fix/specific-exception-handling
Angel98518 Dec 20, 2025
8e8043d
feat: add the resuable create_table for subnets
eureka928 Dec 23, 2025
123de68
feat: add create table unit test
eureka928 Dec 23, 2025
99b519b
ruff
eureka928 Dec 23, 2025
6046aa5
feat: refactor move.py and remove.py with create_table
eureka928 Dec 23, 2025
ae7378d
feat: refactor Table to create_table
eureka928 Dec 23, 2025
bb4956d
fix: remove ValueError from Keypair.create_from_uri exception handling
Angel98518 Dec 23, 2025
9059da9
add ColdkeySwapAnnouncementInfo
ibraheem-abe Dec 23, 2025
20e14b9
removes deprecated ScheduledColdkeySwapInfo
ibraheem-abe Dec 23, 2025
52d3d14
update wallet_check_ck_swap
ibraheem-abe Dec 23, 2025
52618ce
updates check_swap_status
ibraheem-abe Dec 23, 2025
4b8c7df
add get_coldkey_swap_announcements
ibraheem-abe Dec 23, 2025
4767784
update wallet_swap_coldkey cmd
ibraheem-abe Dec 23, 2025
7474832
add get_coldkey_swap_cost
ibraheem-abe Dec 23, 2025
423ae03
add get_coldkey_swap_reannouncement_delay
ibraheem-abe Dec 23, 2025
c7563b0
add get_coldkey_swap_announcement_delay
ibraheem-abe Dec 23, 2025
c45dd04
add reusable table
ibraheem-abe Dec 23, 2025
4b41956
add compute_coldkey_hash
ibraheem-abe Dec 23, 2025
a2d56e0
add announce_coldkey_swap
ibraheem-abe Dec 23, 2025
78b7c9e
add execute_coldkey_swap
ibraheem-abe Dec 23, 2025
8ce14a6
remove proxy in ck swaps
ibraheem-abe Dec 23, 2025
266b1df
adds mev_protection and warning
ibraheem-abe Dec 23, 2025
e6c7050
cleanup
ibraheem-abe Dec 23, 2025
5fb8a74
adds confirmation for mev_protection
ibraheem-abe Dec 23, 2025
bac7f09
remove proxy unit test for swap-ck - not applicable anymore
ibraheem-abe Dec 23, 2025
dfdc662
update tests
ibraheem-abe Dec 23, 2025
d43f8d8
fix: revert the test of table
eureka928 Dec 24, 2025
28aed1f
fix: JSON output empty for subnets list command
GlobalStar117 Jan 15, 2026
58b1791
force_terminal as False
ibraheem-abe Jan 21, 2026
d5505be
Merge branch 'staging' into fix/json-output-empty
ibraheem-abe Jan 21, 2026
b10f7f2
Merge pull request #800 from GlobalStar117/fix/json-output-empty
ibraheem-abe Jan 21, 2026
78ca077
fix: disable wallet history command due to external API deprecation
jose-blockchain Jan 22, 2026
152b787
Merge pull request #811 from jose-blockchain/fix/disable-wallet-histo…
ibraheem-abe Jan 22, 2026
79a8d65
add json output
ibraheem-abe Jan 24, 2026
141c314
add new dispute cmd
ibraheem-abe Jan 24, 2026
3cb6ae9
add dispute_coldkey_swap
ibraheem-abe Jan 24, 2026
6e14f72
add json output and dispute data
ibraheem-abe Jan 24, 2026
38cde88
get_coldkey_swap_disputes
ibraheem-abe Jan 24, 2026
c473ded
get single get_coldkey_swap_dispute
ibraheem-abe Jan 24, 2026
084e9af
improve wording
ibraheem-abe Jan 24, 2026
150324f
Merge branch 'staging' into feat/thewhaleking/improved-disk-caching
thewhaleking Jan 26, 2026
9de2591
Make disk cache default on
thewhaleking Jan 26, 2026
05116c6
Bump ASI
thewhaleking Jan 26, 2026
02101f1
Remove debug logging
thewhaleking Jan 26, 2026
d1d4e72
Merge pull request #790 from eureka928/fix/reusable-table
thewhaleking Jan 26, 2026
c5e1b08
update announce_coldkey_swap
ibraheem-abe Jan 27, 2026
cebe676
update dispute and execute ck swap
ibraheem-abe Jan 27, 2026
1cad597
add prompt args
ibraheem-abe Jan 27, 2026
0a95ba3
add test_coldkey_swap_happy_path
ibraheem-abe Jan 27, 2026
42cfc7a
fix get_coldkey_swap_disputes
ibraheem-abe Jan 27, 2026
f2e881e
add handling for error 21
ibraheem-abe Jan 27, 2026
ab28bfb
add test_coldkey_swap_dispute
ibraheem-abe Jan 27, 2026
16ab4f5
Merge pull request #773 from Angel98518/fix/specific-exception-handling
thewhaleking Jan 27, 2026
d4d517a
Merge pull request #682 from opentensor/feat/thewhaleking/improved-di…
ibraheem-abe Jan 27, 2026
906c4bb
remove mev prot
ibraheem-abe Jan 28, 2026
bfbef17
Merge branch 'staging' into feat/rework-ck-swap
ibraheem-abe Jan 28, 2026
8c22bb1
update get_subnet_prices
ibraheem-abe Jan 29, 2026
9a873ea
get_subnet_price updated
ibraheem-abe Jan 29, 2026
336039f
Merge pull request #792 from opentensor/feat/rework-ck-swap
ibraheem-abe Jan 29, 2026
2e54aa9
remove deprecated methods
ibraheem-abe Jan 30, 2026
67b1e33
add tao_to_alpha_slippage
ibraheem-abe Jan 30, 2026
5bf8bc3
add alpha_to_tao_slippage
ibraheem-abe Jan 30, 2026
f36dcb8
improve get_subnet_prices
ibraheem-abe Jan 30, 2026
71fd52a
update get_total_stake_for_coldkey
ibraheem-abe Jan 31, 2026
971b31e
update remove stake slippage
ibraheem-abe Jan 31, 2026
6813d5b
update slippage calc in add stake
ibraheem-abe Jan 31, 2026
7b86d41
add disabled cmds
ibraheem-abe Jan 31, 2026
8057d82
wip
ibraheem-abe Jan 31, 2026
491581a
add disabled warnings
ibraheem-abe Jan 31, 2026
263f732
disable liquidity cmd
ibraheem-abe Jan 31, 2026
f6e9af7
cleanup
ibraheem-abe Jan 31, 2026
86973fa
ruff
ibraheem-abe Jan 31, 2026
91e0384
Error message handled properly
thewhaleking Feb 3, 2026
2489e93
Merge pull request #814 from opentensor/fix/thewhaleking/missed-attri…
thewhaleking Feb 3, 2026
c8d10a7
Merge branch 'main' into backmerge/9181
ibraheem-abe Feb 3, 2026
bf97fca
Merge pull request #816 from opentensor/backmerge/9181
ibraheem-abe Feb 3, 2026
bbc0d64
Adds more to the debug section of the readme
thewhaleking Feb 3, 2026
faf56da
Merge pull request #817 from opentensor/feat/thewhaleking/additional-…
thewhaleking Feb 3, 2026
7ea545b
add sudo_buyback cmd
ibraheem-abe Feb 4, 2026
596a962
add table definition
ibraheem-abe Feb 4, 2026
b7424fe
wip
ibraheem-abe Feb 4, 2026
7314d75
safe staking + table output
ibraheem-abe Feb 4, 2026
1cacf1b
execute buyback call
ibraheem-abe Feb 4, 2026
3630f35
add guardrails
ibraheem-abe Feb 4, 2026
1357093
wip e2e test
ibraheem-abe Feb 4, 2026
298f0b3
test_subnet_buyback test
ibraheem-abe Feb 4, 2026
824a43e
rename func
ibraheem-abe Feb 4, 2026
5ddd93b
cleanup
ibraheem-abe Feb 4, 2026
82eeb3a
update ck_swap test + improvs
ibraheem-abe Feb 4, 2026
7f677b8
ruff
ibraheem-abe Feb 4, 2026
13de2e8
fix test_coldkey_swap_dispute
ibraheem-abe Feb 4, 2026
7a41a09
add waits
ibraheem-abe Feb 4, 2026
7a94fda
update nonce handling in add
ibraheem-abe Feb 4, 2026
9e55e54
update nonce handling in remove cmds
ibraheem-abe Feb 4, 2026
49c1651
update nonce in movement
ibraheem-abe Feb 4, 2026
8570467
handle proxy acc when querying balance in st add
ibraheem-abe Feb 4, 2026
46826ee
Merge pull request #819 from opentensor/fix/proxy-stake_add-remove
ibraheem-abe Feb 4, 2026
aad35fe
use signer's coldkey in registering subnets
ibraheem-abe Feb 4, 2026
cf3f56b
update wording
ibraheem-abe Feb 4, 2026
ef4ccae
fetch stakes for proxied account
ibraheem-abe Feb 4, 2026
06b2cd5
Merge pull request #820 from opentensor/fix/update-proxy-stuff
ibraheem-abe Feb 4, 2026
fa265d3
adds help aliases
ibraheem-abe Feb 4, 2026
0dabfff
Merge pull request #821 from opentensor/feat/add-help-alias
ibraheem-abe Feb 5, 2026
18cbf53
Merge branch 'main' into backmerge/9181-2
ibraheem-abe Feb 5, 2026
9e2591a
Merge pull request #823 from opentensor/backmerge/9181-2
ibraheem-abe Feb 5, 2026
b7f512f
update cmd -> stake-burn
ibraheem-abe Feb 9, 2026
f77b0d9
rename sudo cmd
ibraheem-abe Feb 9, 2026
d52d5ee
update e2e
ibraheem-abe Feb 9, 2026
be7e903
update help text
ibraheem-abe Feb 9, 2026
c3dbf89
update cmd feedbacks
ibraheem-abe Feb 9, 2026
fb837e2
ruff
ibraheem-abe Feb 9, 2026
790e180
add tao & alpha slippage
ibraheem-abe Feb 9, 2026
3000801
update get_subnet_prices
ibraheem-abe Feb 10, 2026
958e04f
update slippage % calcs
ibraheem-abe Feb 10, 2026
d3ddbed
avoid to use `typing_extensions` replace with `typing`
basfroman Feb 11, 2026
f8f78c8
update e2e
ibraheem-abe Feb 12, 2026
4b4ff40
replace typing_extensions -> typing
ibraheem-abe Feb 13, 2026
71b2e22
Merge pull request #813 from opentensor/feat/balance-swap-updates
ibraheem-abe Feb 13, 2026
df789e3
Handle `MechId` type in call crafter, and raise appropriate error if …
thewhaleking Feb 18, 2026
b70725b
Merge pull request #825 from opentensor/fix/thewhaleking/handle-type-…
thewhaleking Feb 18, 2026
2908de6
remove 3.9 support
ibraheem-abe Feb 20, 2026
2bf2941
update workflows
ibraheem-abe Feb 20, 2026
e69c70a
update ruff workflow
ibraheem-abe Feb 20, 2026
e1294b6
Merge pull request #829 from opentensor/update/python-3.9-eol
ibraheem-abe Feb 20, 2026
75653d3
Optimises the workflow for ruff.
thewhaleking Feb 22, 2026
d59884a
Merge pull request #831 from opentensor/fix/thewhaleking/optimise-ruf…
thewhaleking Feb 22, 2026
251cf73
Optimises the workflow for ruff.
thewhaleking Feb 22, 2026
83284a2
Merge pull request #832 from opentensor/fix/thewhaleking/update-ruff-…
thewhaleking Feb 22, 2026
4d83981
Merge pull request #827 from MkDev11/feat/add-hyperparams-826
MkDev11 Feb 23, 2026
93b31cb
Merge pull request #818 from opentensor/feat/subnet-buyback
ibraheem-abe Feb 24, 2026
5e39873
bump rc version
ibraheem-abe Feb 24, 2026
f25741c
reduce amount of stake burn
ibraheem-abe Feb 24, 2026
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
2 changes: 1 addition & 1 deletion .github/workflows/e2e-subtensor-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ jobs:
os:
- ubuntu-latest
test-file: ${{ fromJson(needs.find-tests.outputs.test-files) }}
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- name: Check-out repository
uses: actions/checkout@v4
Expand Down
39 changes: 12 additions & 27 deletions .github/workflows/ruff-formatter.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,27 @@
name: Ruff Formatter Check

concurrency:
group: ruff-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions:
contents: read

on:
pull_request:
types: [opened, synchronize, reopened, edited]
types: [opened, synchronize, reopened]

jobs:
ruff:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9.13"]
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Set up caching for Ruff virtual environment
id: cache-ruff
uses: actions/cache@v4
with:
path: .venv
key: v2-pypi-py-ruff-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
restore-keys: |
v2-pypi-py-ruff-${{ matrix.python-version }}-

- name: Set up Ruff virtual environment if cache is missed
if: steps.cache-ruff.outputs.cache-hit != 'true'
run: |
python -m venv .venv
.venv/bin/python -m pip install ruff==0.11.5

- name: Ruff format check
run: |
.venv/bin/ruff format --diff bittensor_cli
.venv/bin/ruff format --diff tests
uses: astral-sh/ruff-action@v3
with:
version: "0.11.5"
args: "format --diff"
src: "bittensor_cli tests"
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- name: Check-out repository
uses: actions/checkout@v4
Expand Down
Loading
Loading