Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/9.0.0 #2671

Merged
merged 689 commits into from
Feb 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
689 commits
Select commit Hold shift + click to select a range
d4d3786
fix annotations
roman-opentensor Jan 30, 2025
d5a66a0
remove unused class
roman-opentensor Jan 30, 2025
cef96d0
fix annotation
roman-opentensor Jan 30, 2025
4040a84
fix annotation + docstrings
roman-opentensor Jan 30, 2025
ccb5154
use recommended import instead of dynamic
roman-opentensor Jan 30, 2025
e7c15e5
fix annotation
roman-opentensor Jan 30, 2025
3c3f862
fixes
roman-opentensor Jan 30, 2025
f5483a8
Merge pull request #2619 from opentensor/feat/roman/improvement
roman-opentensor Jan 31, 2025
cc950a7
feat: use bt_decode
zyzniewski-reef Jan 29, 2025
47489bd
fix: query_runtime_api params
zyzniewski-reef Jan 29, 2025
ec453cb
deps: async-substrate-interface
zyzniewski-reef Jan 29, 2025
12a7284
fix typo async_commit_reveal.py
Marcofann Jan 31, 2025
b8b8055
fix typo commit_reveal.py
Marcofann Jan 31, 2025
25259e9
fix typos weight_utils.py
Marcofann Jan 31, 2025
04955f6
feat: migrate to async_substrate_interface using btdecode
zyzniewski-reef Jan 31, 2025
8c317a6
remove bittensor-cli
zyzniewski-reef Jan 31, 2025
56f804c
ruff formatting
zyzniewski-reef Jan 31, 2025
7342fec
remove bt-decode - it's part of async-substrate-interface now
zyzniewski-reef Jan 31, 2025
dc0ae8a
Refactor and integrate MetagraphInfo data handling
roman-opentensor Jan 31, 2025
32acf67
mypy fixes
zyzniewski-reef Jan 31, 2025
6951533
Merge branch 'staging-pre-merge-new-async' into feat/zyzniewski/use_b…
roman-opentensor Jan 31, 2025
82854d8
fix self usage in metagraph
roman-opentensor Jan 31, 2025
9b3d608
Update wallet creation commands
HudsonGraeme Jan 31, 2025
27eef20
Comment out invalid cli arguments
HudsonGraeme Jan 31, 2025
351423f
add root fields to metagraph class
roman-opentensor Feb 1, 2025
19f167a
improve MetagraphInfo
roman-opentensor Feb 1, 2025
731e5a7
fix bug in subtensor
roman-opentensor Feb 1, 2025
c53fcbb
fix integration metagraph test
roman-opentensor Feb 1, 2025
70036f9
fix tests + ruff
roman-opentensor Feb 1, 2025
4d59acd
Update weight_utils.py
Marcofann Feb 1, 2025
4383a19
Merge branch 'staging' into fix/typos
Marcofann Feb 1, 2025
82c4b2b
Cleanup
thewhaleking Feb 3, 2025
41fe909
Fix test I broke.
thewhaleking Feb 3, 2025
3bcdbb5
Deprecates `get_stake_for_coldkey_and_hotkey` method of `Subtensor` a…
thewhaleking Feb 3, 2025
f09a8f9
Makes `get_stake` require the netuid, adds a new method to retrieve s…
thewhaleking Feb 3, 2025
973b5c1
raise SubstrateRequestException on KeyError within InfoBase _from_dic…
zyzniewski-reef Feb 3, 2025
7fc81df
Update method
thewhaleking Feb 3, 2025
188ef12
Review changes implemented
ibraheem-opentensor Feb 3, 2025
72cf915
Ruff
ibraheem-opentensor Feb 3, 2025
d92105d
Type hints
thewhaleking Feb 3, 2025
691c8db
Tests
thewhaleking Feb 3, 2025
d70fa03
Merge pull request #2618 from opentensor/feat/zyzniewski/use_bt_decode
thewhaleking Feb 3, 2025
6c2459a
Merge remote-tracking branch 'origin/staging-pre-merge-new-async' int…
thewhaleking Feb 3, 2025
e8af5e8
Tests still broken
thewhaleking Feb 3, 2025
557219d
Bumps torch version
ibraheem-opentensor Feb 4, 2025
a4b3d5e
Updates artifacts version
ibraheem-opentensor Feb 4, 2025
a7819d1
Merge pull request #2623 from opentensor/bump/updates-torch
ibraheem-opentensor Feb 4, 2025
e86a6a6
add `MetagraphInfo.subnet_volume` field
roman-opentensor Feb 4, 2025
6122c41
add `DynamicInfo.subnet_volume` field
roman-opentensor Feb 4, 2025
3027c0a
Fix partialFee -> partial_fee
thewhaleking Feb 4, 2025
d4c2f66
Passing tests
thewhaleking Feb 4, 2025
17e9ccf
Fixes typing.
thewhaleking Feb 4, 2025
34300a7
Adds better Certificate decoding.
thewhaleking Feb 4, 2025
b913d3e
Typing
thewhaleking Feb 4, 2025
ebd6396
I hate mypy
thewhaleking Feb 4, 2025
7c13147
Python is a dynamically-typed language.
thewhaleking Feb 4, 2025
a1907d8
Mypy (yet again!)
thewhaleking Feb 4, 2025
491dcb1
Merge pull request #2622 from opentensor/async/thewhaleking/deprecate…
thewhaleking Feb 4, 2025
1a96aa9
Merge branch 'staging' into fix/typos
thewhaleking Feb 4, 2025
d0e16d0
Typos
thewhaleking Feb 4, 2025
9919f6a
Merge pull request #2620 from Marcofann/fix/typos
thewhaleking Feb 4, 2025
c07ce1b
Merge branch 'staging' into master
HudsonGraeme Feb 4, 2025
42e3fd6
Fixes from manual testing
thewhaleking Feb 4, 2025
313ba3f
Missing `.decode()` for runtime call
thewhaleking Feb 4, 2025
39c4661
Ruff
thewhaleking Feb 4, 2025
17bef1b
type annotations, docstrings, logging, None results
roman-opentensor Feb 5, 2025
875c446
new field, if statement
roman-opentensor Feb 5, 2025
f879f75
new fields
roman-opentensor Feb 5, 2025
5685b53
fix integration test
roman-opentensor Feb 5, 2025
9d54a8d
Merge branch 'staging-pre-merge-new-async' into feat/roman/add-metagr…
roman-opentensor Feb 5, 2025
0a41a75
update reqs
roman-opentensor Feb 5, 2025
1076ce7
fix test
roman-opentensor Feb 5, 2025
5f8c518
ruff
roman-opentensor Feb 5, 2025
18a9fab
typo
roman-opentensor Feb 5, 2025
b5893f2
Merge pull request #2624 from opentensor/feat/roman/add-metagraph-inf…
roman-opentensor Feb 5, 2025
e272201
update based on `https://github.com/opentensor/subtensor/pull/1205`
roman-opentensor Feb 5, 2025
229a11e
Merge pull request #2621 from inference-labs-inc/master
thewhaleking Feb 5, 2025
6b8ac6a
Fixes methods and their associated tests (for AsyncSubtensor)
thewhaleking Feb 5, 2025
deacfd9
Subtensor methods updated (and tests)
thewhaleking Feb 5, 2025
b937ca5
Subtensor methods updated (and tests)
thewhaleking Feb 5, 2025
8338a37
Merge pull request #2628 from opentensor/async/thewhaleking/fix-subte…
thewhaleking Feb 5, 2025
5255e7c
update `Async/Subtensor.query_identity` argument and docstring
roman-opentensor Feb 5, 2025
ae4b4eb
Updates get_subnet_burn_cost return type
thewhaleking Feb 5, 2025
ec1657f
Merge pull request #2629 from opentensor/async/thewhaleking/subnet-bu…
thewhaleking Feb 5, 2025
1247407
remove debug print
roman-opentensor Feb 5, 2025
f646102
Adds registration subnet extrinsic
ibraheem-opentensor Feb 5, 2025
b9d43dc
Reverts lock-cost changes
ibraheem-opentensor Feb 5, 2025
e2d0df7
Updates docstrings
ibraheem-opentensor Feb 5, 2025
bfd1f00
Bumps btwallet
ibraheem-opentensor Feb 5, 2025
76f3f6c
Specifies a range of torch versions, rather than a pinned version.
thewhaleking Feb 5, 2025
93ba99b
Merge pull request #2632 from opentensor/async/thewhaleking/specify-t…
thewhaleking Feb 5, 2025
e09178d
Updates bittenso-wallet version
ibraheem-opentensor Feb 5, 2025
8ef40ec
Merge pull request #2630 from opentensor/adds-extrinsic/register-subnet
ibraheem-opentensor Feb 5, 2025
6eee582
Bumps btwallet 302
ibraheem-opentensor Feb 5, 2025
60f4b44
Use .value
thewhaleking Feb 5, 2025
5872b13
chain identity fix + tests
roman-opentensor Feb 5, 2025
c235c9f
Arg order
thewhaleking Feb 5, 2025
d8478da
Balance used
thewhaleking Feb 5, 2025
c7a4fc1
update registry
roman-opentensor Feb 5, 2025
f28f15e
update query_runtime_api method
roman-opentensor Feb 5, 2025
02c6054
update SubnetIdentity
roman-opentensor Feb 5, 2025
840b795
update tests
roman-opentensor Feb 5, 2025
6146884
Updates query_identity
ibraheem-opentensor Feb 5, 2025
efdecbf
Merge pull request #2633 from opentensor/update-btwallet-302
ibraheem-opentensor Feb 5, 2025
5cb49e0
remove obsoleted tests
roman-opentensor Feb 5, 2025
20f00d5
Merge pull request #2627 from opentensor/feat/roman/rpc-upgrades
ibraheem-opentensor Feb 5, 2025
fb76ebc
Bumps version + changelog, updates release script
ibraheem-opentensor Feb 5, 2025
8332ef6
Updates bittensor-cli version
ibraheem-opentensor Feb 5, 2025
a47b5c4
fix async subtensor get_all_subnets_info
roman-opentensor Feb 6, 2025
2f9a90a
fix subtensor query_identity if result is empty
roman-opentensor Feb 6, 2025
42a6e3f
fix subtensor get_delegate_identities via correct import
roman-opentensor Feb 6, 2025
8cb8d0a
Updates SubnetState decoding
ibraheem-opentensor Feb 6, 2025
5b36387
Merge pull request #2637 from opentensor/bug/roman/after-rc-fixes
ibraheem-opentensor Feb 6, 2025
5bba098
Bumps version and updates changelog
ibraheem-opentensor Feb 6, 2025
3c44be1
Adds methods to better accommodate the new websocket implementation (…
thewhaleking Feb 6, 2025
42032bc
Merge branch 'staging' into fix
roman-opentensor Feb 6, 2025
0337f08
tests: fix e2e
zyzniewski-reef Feb 6, 2025
f424ef2
revert fast-blocks
zyzniewski-reef Feb 6, 2025
ca82491
revert timeout
zyzniewski-reef Feb 6, 2025
a327ac5
install lib in noneditable mode
zyzniewski-reef Feb 6, 2025
9138b6d
give more time to Validator to process
zyzniewski-reef Feb 6, 2025
f00dd0d
fix incentive e2e test
zyzniewski-reef Feb 6, 2025
1574efa
Torch Metagraph fixes
thewhaleking Feb 6, 2025
bf57d66
Adds Latent endpoint to the SDK
ibraheem-opentensor Feb 7, 2025
f20ab5e
Updates typo
ibraheem-opentensor Feb 7, 2025
8d3b576
Merge pull request #2641 from opentensor/update/latent-endpoint-sdk
ibraheem-opentensor Feb 7, 2025
ac68ca8
Bringing metagraph fields to a common form with float values float(TA…
roman-opentensor Feb 7, 2025
d0b2d6b
fix tests
roman-opentensor Feb 7, 2025
96d108c
update dev deps
roman-opentensor Feb 7, 2025
82cf6f2
Update processing identities
ibraheem-opentensor Feb 7, 2025
5730f3f
Merge pull request #2642 from opentensor/fix/roman/metagraph
roman-opentensor Feb 7, 2025
9d0b008
Updates async substrate interface requirements
ibraheem-opentensor Feb 7, 2025
38a40f3
RC3: Bumps version and updates changelog
ibraheem-opentensor Feb 7, 2025
5ebc9a9
Fixes get_commitment in sync/async
thewhaleking Feb 7, 2025
1cabab6
Fixes the integration test patching for FakeWebsocket (tests still br…
thewhaleking Feb 7, 2025
b65f04c
update weights_set_rate_limit for fast-blocks
zyzniewski-reef Feb 7, 2025
9ba20f0
don't mess with cwd
zyzniewski-reef Feb 7, 2025
1f92ff0
Revert "don't mess with cwd"
zyzniewski-reef Feb 7, 2025
35f45d0
remove unneeded chain calls
zyzniewski-reef Feb 7, 2025
251e4e1
adjust wait_interval for fast-blocks
zyzniewski-reef Feb 7, 2025
5fd0682
Fixes query_map in Subtensor and AsyncSubtensor, adds the ability to …
thewhaleking Feb 7, 2025
89ac1c3
Fixes tests
thewhaleking Feb 7, 2025
584615f
Increase subnet tempo so we have enought time to commit and reveal we…
zyzniewski-reef Feb 7, 2025
fac0c66
improve test_dendrite
zyzniewski-reef Feb 7, 2025
4e61074
Merge pull request #2644 from opentensor/async/thewhaleking/fix-commi…
ibraheem-opentensor Feb 7, 2025
b4e1f44
fix type annotation
roman-opentensor Feb 7, 2025
d1c2f8b
add extra fields
roman-opentensor Feb 7, 2025
66184af
update `fixed_to_float`
roman-opentensor Feb 7, 2025
5070480
add field `MetagraphInfoEmissions.moving_price`
roman-opentensor Feb 7, 2025
b82b67f
update field `MetagraphInfoEmissions.moving_price`
roman-opentensor Feb 7, 2025
e71030b
update `Metagraph.emissions` with `moving_price`
roman-opentensor Feb 7, 2025
3421afe
move `moving_price` to `Metagraph.pool`
roman-opentensor Feb 7, 2025
b6afdd0
Merge pull request #2647 from opentensor/fix/roman/metagraph-info
roman-opentensor Feb 7, 2025
0cc2b8e
RC4: bumps version and changelog
ibraheem-opentensor Feb 7, 2025
d2f5a8d
fix InfoBase + dataclasses
roman-opentensor Feb 7, 2025
da522a3
remove debug modules
roman-opentensor Feb 7, 2025
25b8a3a
Merge pull request #2649 from opentensor/fix/roman/dataclasses
roman-opentensor Feb 8, 2025
df010eb
RC5: bumps version and updates changelog
ibraheem-opentensor Feb 8, 2025
990453d
fix integration tests
roman-opentensor Feb 8, 2025
d9275ed
Merge pull request #2651 from opentensor/fix/roman/integration-tests
roman-opentensor Feb 8, 2025
1e17e11
Moves the closing of the new event loop in Dendrite.query to the clos…
thewhaleking Feb 10, 2025
a4f3d12
Add logging.
thewhaleking Feb 10, 2025
c944235
Ruff
thewhaleking Feb 10, 2025
f16ebee
Merge pull request #2587 from crStiv/fix
thewhaleking Feb 10, 2025
9661a37
Merge pull request #2654 from opentensor/fix/thewhaleking/dendrite-lo…
thewhaleking Feb 10, 2025
2c7548d
Updates CRV3 e2e test
ibraheem-opentensor Feb 10, 2025
bb54c81
Trigger CI
zyzniewski-reef Feb 10, 2025
42755fb
style: ruff formatting
zyzniewski-reef Feb 10, 2025
83d483d
add type hint
zyzniewski-reef Feb 10, 2025
0a46cbd
Merge pull request #2639 from opentensor/tests/zyzniewski/fix_e2e
roman-opentensor Feb 10, 2025
4d90b4b
move torch deps via setup.py
roman-opentensor Feb 10, 2025
356c712
bumping version in prod
roman-opentensor Feb 10, 2025
6d17860
Merge pull request #2655 from opentensor/feat/roman/deps
roman-opentensor Feb 10, 2025
642c4ec
Merge branch 'staging-pre-merge-new-async' into merge/roman/async-pre…
roman-opentensor Feb 10, 2025
098484f
update test_axon.py
roman-opentensor Feb 10, 2025
50ea4ab
update subtensor branch
roman-opentensor Feb 10, 2025
a13fed2
update subtensor branch
roman-opentensor Feb 10, 2025
9cc5ce5
Merge remote-tracking branch 'origin/merge/roman/async-pre-merge-new-…
roman-opentensor Feb 10, 2025
479ab0d
fix test
roman-opentensor Feb 11, 2025
82e3734
increase waiting time
roman-opentensor Feb 11, 2025
bc0a478
add name and symbol fields to metagraph
roman-opentensor Feb 11, 2025
82ca010
Moves shared features to the Mixin, fixes AsyncSubtensor, changes `sy…
thewhaleking Feb 11, 2025
f58aad6
brings all fields from get_metagraph_info fields to the metagraph cla…
roman-opentensor Feb 11, 2025
942f2b4
Add 0.018 as a constant
thewhaleking Feb 11, 2025
4f2b7f7
Merge pull request #2659 from opentensor/fix/thewhaleking/fix-async-t…
roman-opentensor Feb 11, 2025
6f69f4a
tests: separate templates fixture
zyzniewski-reef Feb 11, 2025
ebac12e
Merge pull request #2658 from opentensor/feat/roman/add-a-few-fields-…
roman-opentensor Feb 11, 2025
bbc30a0
Merge branch 'staging-pre-merge-new-async' into merge/roman/async-pre…
roman-opentensor Feb 11, 2025
bd0f540
style: ruff formating
zyzniewski-reef Feb 11, 2025
90433a0
tests: use 9944 as a default port
zyzniewski-reef Feb 11, 2025
7d65400
using one determine_chain_endpoint_and_network
roman-opentensor Feb 11, 2025
d8b7d70
remove unused import
roman-opentensor Feb 11, 2025
bd52816
fix test
roman-opentensor Feb 11, 2025
2983257
Merge pull request #2661 from opentensor/feat/roman/using-one-determi…
roman-opentensor Feb 11, 2025
3d632d1
improve `install_templates` logic
roman-opentensor Feb 11, 2025
fa2b9a8
Removes ownership check in stake_move
ibraheem-opentensor Feb 11, 2025
93b7b25
Merge branch 'staging-pre-merge-new-async' into tests/zyzniewski/e2e_…
roman-opentensor Feb 11, 2025
9e4ce58
Remove ownership check from move_stake for async
ibraheem-opentensor Feb 11, 2025
0392627
Merge pull request #2660 from opentensor/tests/zyzniewski/e2e_templat…
roman-opentensor Feb 11, 2025
5a203bb
Merge branch 'staging-pre-merge-new-async' into merge/roman/async-pre…
roman-opentensor Feb 11, 2025
f4f84ad
not enough time to update chain state. increase time sleep
roman-opentensor Feb 11, 2025
820b1e2
Merge pull request #2656 from opentensor/merge/roman/async-pre-merge-…
roman-opentensor Feb 11, 2025
de42873
add sync extrinsic
roman-opentensor Feb 12, 2025
e0b8f36
add sync subtensor extrinsic method
roman-opentensor Feb 12, 2025
fc62baf
update easy imports (add chain_data classes)
roman-opentensor Feb 12, 2025
58c2bc7
fix bugs with using `format_error_message`
roman-opentensor Feb 12, 2025
9f907b6
remove redundant call
roman-opentensor Feb 12, 2025
7105038
update sync extrinsic
roman-opentensor Feb 12, 2025
6ee34dd
add async extrinsic
roman-opentensor Feb 12, 2025
bc2a97d
fix docsting's complaince in IDE
roman-opentensor Feb 12, 2025
63a9a0f
update import
roman-opentensor Feb 12, 2025
386b19c
update docstring
roman-opentensor Feb 12, 2025
19f53f0
ruff
roman-opentensor Feb 12, 2025
50db030
add async subtensor extrinsic method
roman-opentensor Feb 12, 2025
2b4714a
add sync subtensor extrinsic unit test
roman-opentensor Feb 12, 2025
3aa0d78
add async subtensor extrinsic unit test
roman-opentensor Feb 12, 2025
70b653d
add sync extrinsic unit test
roman-opentensor Feb 12, 2025
8086324
add async extrinsic unit test
roman-opentensor Feb 12, 2025
1fab7b0
add e2e test (happy pass, failed)
roman-opentensor Feb 12, 2025
d244791
Merge pull request #2662 from opentensor/feat/roman/add-subnet-identi…
ibraheem-opentensor Feb 12, 2025
6400f72
Adds nonce protection for staking/unstaking calls.
thewhaleking Feb 12, 2025
8e7bdda
Get the nonce for staking calls from the coldkeypub rather than the h…
thewhaleking Feb 12, 2025
bbc6f53
Allow using a different signing key than hotkey
thewhaleking Feb 12, 2025
af9b9e3
Changes the logging level for unexpected header keys to trace, as hav…
thewhaleking Feb 12, 2025
586d122
Merge pull request #2666 from opentensor/fix/thewhaleking/change-logg…
thewhaleking Feb 12, 2025
f084c95
remove logs
roman-opentensor Feb 12, 2025
547bf6e
Merge branch 'staging' into feat/roman/remove-logs
roman-opentensor Feb 12, 2025
0d999d2
tests: properly handle subprocesses (subtensor, miner, validator)
zyzniewski-reef Feb 12, 2025
51406fd
Merge branch 'staging' into fix/thewhaleking/add-nonce-to-extrinsics-…
roman-opentensor Feb 12, 2025
3bbaa58
Merge pull request #2667 from opentensor/feat/roman/remove-logs
roman-opentensor Feb 12, 2025
b4bb025
Merge branch 'staging' into tests/zyzniewski/e2e_templates_teardown
zyzniewski-reef Feb 12, 2025
4e2938a
WIP check-in
thewhaleking Feb 12, 2025
28050cd
[WIP] Tests passing
thewhaleking Feb 12, 2025
915e8f1
Merge branch 'staging' into fix/thewhaleking/add-nonce-to-extrinsics-…
thewhaleking Feb 12, 2025
0046e25
Lint
thewhaleking Feb 12, 2025
9a04b32
Merge pull request #2664 from opentensor/tests/zyzniewski/e2e_templat…
zyzniewski-reef Feb 13, 2025
f77c182
Merge branch 'staging' into fix/thewhaleking/add-nonce-to-extrinsics-…
thewhaleking Feb 13, 2025
ccd8a00
Removed `sign_and_send_with_nonce` as this functionality has been mov…
thewhaleking Feb 13, 2025
fdb5342
Added `get_stake_for_hotkey` to AsyncSubtensor and Subtensor
thewhaleking Feb 13, 2025
606f5aa
Remove unused import
thewhaleking Feb 13, 2025
dd35bfa
Updated `Subtensor` and `AsyncSubtensor`'s `get_children` method to r…
thewhaleking Feb 13, 2025
c30c1bf
Added `moving_price` to `DynamicInfo`
thewhaleking Feb 13, 2025
ad21515
Merge pull request #2665 from opentensor/fix/thewhaleking/add-nonce-t…
thewhaleking Feb 13, 2025
b117411
Updates tao_weights
ibraheem-opentensor Feb 13, 2025
a43c835
Merge pull request #2669 from opentensor/update-stake-weights
ibraheem-opentensor Feb 13, 2025
81bc14f
update deps
roman-opentensor Feb 13, 2025
838fc4d
change default endpoint and network
roman-opentensor Feb 13, 2025
7016f75
fix test
roman-opentensor Feb 13, 2025
47ed5cd
Merge pull request #2670 from opentensor/feat/roman/deps-defaults
ibraheem-opentensor Feb 13, 2025
5ae9539
Bumps version and changelog
ibraheem-opentensor Feb 13, 2025
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.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:

- name: Setup subtensor repo
working-directory: ${{ github.workspace }}/subtensor
run: git checkout main
run: git checkout devnet-ready

- name: Run tests
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
fi

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
Expand All @@ -60,7 +60,7 @@ jobs:

steps:
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist
path: dist/
Expand Down
122 changes: 122 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,127 @@
# Changelog

## 9.0.0 /2025-02-13

## What's Changed
* Optimisations and tests for Async Sync Subtensor by @thewhaleking in https://github.com/opentensor/bittensor/pull/2569
* [SDK] Get rid of py-substrate-interface (DO NOT MERGE) by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2565
* Uses the new async_substrate_interface lib by @thewhaleking in https://github.com/opentensor/bittensor/pull/2572
* AsyncSubstrateInterface Overhaul (with Sync AsyncSubstrate) by @thewhaleking in https://github.com/opentensor/bittensor/pull/2526
* [SDK] Small improvements by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2575
* Sync Subtensor warning by @thewhaleking in https://github.com/opentensor/bittensor/pull/2578
* [SDK] Fixes types in async by @thewhaleking in https://github.com/opentensor/bittensor/pull/2577
* Release/8.5.2 by @ibraheem-opentensor in https://github.com/opentensor/bittensor/pull/2584
* fix: typos in documentation files by @leopardracer in https://github.com/opentensor/bittensor/pull/2580
* fix(2337): btlogging setLevel by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2588
* perf: don't use 2 threads to create FastAPI server by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2592
* fix(2188): don't allow uvicorn to reconfigure event_loop_policy by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2591
* Fix spelling errors by @Dimitrolito in https://github.com/opentensor/bittensor/pull/2586
* Make code as beautiful as it has never been before by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2599
* test: bring back old (sync subtensor) tests and fix them by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2600
* YAASO: Yet Another AsyncSubtensor Overhaul by @thewhaleking in https://github.com/opentensor/bittensor/pull/2579
* Add alias for `Subtensor.commit` as `set_commitment` by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2606
* [RAO] Add methods to fetch metagraph data from the chain by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2605
* Rewrite config.py by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2607
* Update metagraph class with `rao` stuff by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2611
* [RAO] fix for unit test + refactoring by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2612
* fix integration metagraph test by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2613
* Cleanups, fixes, improvements for rao by @thewhaleking in https://github.com/opentensor/bittensor/pull/2614
* Adds deprecation notice for non-balance amounts by @ibraheem-opentensor in https://github.com/opentensor/bittensor/pull/2615
* Staging pre merge port rao (New async substrate) by @ibraheem-opentensor in https://github.com/opentensor/bittensor/pull/2610
* Tests for SyncSubtensor by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2617
* Many small fixes by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2619
* Use async-substrate-interface for runtime decoding by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2618
* Pins torch version to 2.5.1 by @ibraheem-opentensor in https://github.com/opentensor/bittensor/pull/2623
* Fixes, adds stake and other methods by @thewhaleking in https://github.com/opentensor/bittensor/pull/2622
* Fix typos by @Marcofann in https://github.com/opentensor/bittensor/pull/2620
* Add `subnet_volume` field to `MetagraphInfo` and `DynamicInfo` by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2624
* Update wallet creation command logs post-install by @HudsonGraeme in https://github.com/opentensor/bittensor/pull/2621
* fix subtensor methods for async by @thewhaleking in https://github.com/opentensor/bittensor/pull/2628
* Subnet burn cost return type by @thewhaleking in https://github.com/opentensor/bittensor/pull/2629
* Specifies a range of torch versions, rather than a pinned version. by @thewhaleking in https://github.com/opentensor/bittensor/pull/2632
* Adds subnet registration extrinsic by @ibraheem-opentensor in https://github.com/opentensor/bittensor/pull/2630
* Bumps btwallet 302 by @ibraheem-opentensor in https://github.com/opentensor/bittensor/pull/2633
* SKD implementation for Subtensor `Feat/RPC Upgrades`. PR #1205 by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2627
* Bug fixes after release SDK v9.0.0rc1 by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2637
* Adds Latent Lite endpoint to the SDK by @ibraheem-opentensor in https://github.com/opentensor/bittensor/pull/2641
* Bringing meta fields to a common form with float values float(TAO) instead of Balance and Tensor by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2642
* Adds `get_all_commitments` and fixes commitment tests and `query_map` by @thewhaleking in https://github.com/opentensor/bittensor/pull/2644
* Fix for extra fields from chain data by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2647
* Fix InfoBase + dataclasses by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2649
* fix integration tests by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2651
* feat: Add logging for unexpected header keys in Synapse by @crStiv in https://github.com/opentensor/bittensor/pull/2587
* Fixes Dendrite new loop close by @thewhaleking in https://github.com/opentensor/bittensor/pull/2654
* Fix e2e tests by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2639
* feat/roman/deps by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2655
* Metagraph Improvements by @thewhaleking in https://github.com/opentensor/bittensor/pull/2659
* add name and symbol fields to metagraph by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2658
* Using one determine_chain_endpoint_and_network by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2661
* Tests: separate `templates` fixture by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2660
* Merge `async-pre-merge-new-async` to `staging` by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2656
* Add `set_subnet_identity_extrinsic` and related stuff by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2662
* Changes the logging level for unexpected header keys to trace by @thewhaleking in https://github.com/opentensor/bittensor/pull/2666
* Remove logs by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2667
* Tests: properly handle subprocesses (subtensor, miner, validator) by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2664
* Last-minute requests by @thewhaleking in https://github.com/opentensor/bittensor/pull/2665
* Updates tao_weights for mainnet by @ibraheem-opentensor in https://github.com/opentensor/bittensor/pull/2669
* Update deps and default network/endpoint by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2670

## New Contributors
* @leopardracer made their first contribution in https://github.com/opentensor/bittensor/pull/2580
* @Dimitrolito made their first contribution in https://github.com/opentensor/bittensor/pull/2586
* @Marcofann made their first contribution in https://github.com/opentensor/bittensor/pull/2620
* @HudsonGraeme made their first contribution in https://github.com/opentensor/bittensor/pull/2621
* @crStiv made their first contribution in https://github.com/opentensor/bittensor/pull/2587

**Full Changelog**: https://github.com/opentensor/bittensor/compare/v8.5.2...v9.0.0

## 9.0.0rc6 /2025-02-11
* Using one determine_chain_endpoint_and_network by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2661
* Tests: separate templates fixture by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2660
* add name and symbol fields to metagraph by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2658
* Metagraph Improvements by @thewhaleking in https://github.com/opentensor/bittensor/pull/2659
* feat/roman/add-subnet-identity-with-subnet-creation by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2662

**Full Changelog**: https://github.com/opentensor/bittensor/compare/v9.0.0rc5...v9.0.0rc6

## 9.0.0rc5 /2025-02-07
* Fix InfoBase + dataclasses @roman-opentensor in https://github.com/opentensor/bittensor/pull/2649

**Full Changelog**: https://github.com/opentensor/bittensor/compare/v9.0.0rc4...v9.0.0rc5

## 9.0.0rc4 /2025-02-07
* Fix for extra fields from chain data by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2647
* Adds get_all_commitments and fixes commitment tests and query_map @thewhaleking in https://github.com/opentensor/bittensor/pull/2644

**Full Changelog**: https://github.com/opentensor/bittensor/compare/v9.0.0rc2...v9.0.0rc3

## 9.0.0rc3 /2025-02-06

## What's Changed
* Adds methods to better accommodate the new websocket implementation (long-lived) by @thewhaleking in https://github.com/opentensor/bittensor/commit/3c44be177edef8a799c2c9dc5e49916723cab5c2
* Adds latent-lite network by @ibraheem-opentensor in https://github.com/opentensor/bittensor/pull/2641
* Updates async-substrate-interface to 1.0.0rc12 by @ibraheem-opentensor in https://github.com/opentensor/bittensor/commit/9d0b008e6163c84ed9267423324f30c3ec8af289
* Bringing meta fields to a common form with float values float(TAO) instead of Balance and Tensor by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2642

**Full Changelog**: https://github.com/opentensor/bittensor/compare/v9.0.0rc2...v9.0.0rc3

## 9.0.0rc2 /2025-02-05

## What's Changed
* Small bug fixes and improvements by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2637

**Full Changelog**: https://github.com/opentensor/bittensor/compare/v9.0.0rc1...v9.0.0rc2

## 9.0.0rc1 /2025-02-05

## What's Changed
* Uses revamped Async Substrate Interface
* Compatibility with Rao changes added
* Completely revamped Async Subtensor introduced
* Numerous improvements, bug fixes, and deprecations

**Full Changelog**: https://github.com/opentensor/bittensor/compare/v8.5.1...v9.0.0rc1

## 8.5.2 /2025-01-17

## What's Changed
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.5.2
9.0.0
28 changes: 1 addition & 27 deletions bittensor/__init__.py
Original file line number Diff line number Diff line change
@@ -1,34 +1,8 @@
# The MIT License (MIT)
# Copyright © 2024 Opentensor Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
# documentation files (the “Software”), to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
# and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of
# the Software.
#
# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
# THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.

import warnings

from .core.settings import __version__, version_split, DEFAULTS, DEFAULT_NETWORK
from .core.async_subtensor import AsyncSubtensor
from .utils.btlogging import logging
from .utils.deprecated import *


async def async_subtensor(network: str = DEFAULT_NETWORK) -> AsyncSubtensor:
"""
Creates an initialised AsyncSubtensor object.
"""
async with AsyncSubtensor(network=network) as subtensor_:
return subtensor_
from .utils.easy_imports import *


def __getattr__(name):
Expand Down
17 changes: 0 additions & 17 deletions bittensor/__main__.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
# The MIT License (MIT)
# Copyright © 2024 Opentensor Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
# documentation files (the “Software”), to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
# and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of
# the Software.
#
# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
# THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.

import os
import subprocess
import sys
Expand Down
Loading
Loading