-
Notifications
You must be signed in to change notification settings - Fork 443
Subnet Mechanism logic
#3056
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
Merged
Merged
Subnet Mechanism logic
#3056
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
5752085
add `_sub*` extrinsics
5fdc8e9
add sudo `_sub*` extrinsics
249afc1
add common `sudo_call_extrinsic`
1c888c8
add custom types for uids, weights, and salt
cb5c477
add sub methods to subtensors
a83c462
TODO deprecate in SDKv10
8328991
update MetagraphInfo
fdd7d10
improve `generate_weight_hash`
e8ca0ad
update tests
37933a4
update SubtensorApi
95c263f
update docstrings
2f84875
add unit tests
cf44906
improve `subtensor.weights` (use subuid)
e0fb27f
improve e2e test
ee390e3
Merge branch 'staging' into feat/roman/sub-subnet
3883f7c
fix `sudo_call_extrinsic`
53df6e7
update `get_timelocked_weight_commits` method
3749555
update unit and e2e tests
4ac39bc
fix `generate_weight_hash` logic + tests
b3afc49
refactoring
cd69bb6
update e2e tests (use subuid)
07fee6b
add unit test for new extrinsics
3bb28f4
update `sudo_set_sub_subnet_emission_split`
0b204ad
add `subtensor.get_sub_subnets_emission_split` + tests
18a054b
fix SubtensorApi tests
f6c9b8c
Merge branch 'staging' into feat/roman/sub-subnet
3cfd493
rename `sub subnets` to `mechanism`
48f6872
tests improvement
46ccf64
fix runtime call method + tests
7687442
Improve MetagraphInfo calls
1379841
improve Metagraph
2c9ff5e
update SubtensorApi
6d67b58
check query better
6b42893
tests
bf2efa6
TODO
faeb926
They change error back to SubnetNotExists
89b4c8f
bring back old error on docstrings
707332e
fix typo
044723f
Update bittensor/core/async_subtensor.py
basfroman 35caea0
Update bittensor/core/async_subtensor.py
basfroman 1c0ffd3
review changes + ruff
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.