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

add neuron certificate discovery #2

Open
wants to merge 208 commits into
base: staging
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
208 commits
Select commit Hold shift + click to select a range
d07ee71
Child Hotkey refactor
Aug 20, 2024
0b28d4b
Bumps to 7.4.0
ibraheem-opentensor Aug 20, 2024
71a62a5
Child Hotkey refactor
Aug 20, 2024
65d3e2e
Child Hotkey refactor
Aug 20, 2024
d082563
Child take
Aug 21, 2024
da75663
Child Hotkey refactor
Aug 23, 2024
9839740
Child Hotkey refactor
Aug 23, 2024
897dc5d
Child Hotkey refactor
Aug 23, 2024
f8531e2
Child Hotkey refactor
Aug 26, 2024
95a124a
Child Hotkey refactor
Aug 26, 2024
17035e0
Child Hotkey refactor - fix tests
Aug 26, 2024
0e0d0d5
Update localnet entrypoint port (#2268)
garrett-opentensor Aug 26, 2024
f735b5e
Child Hotkey refactor - fix tests
Aug 26, 2024
1911056
Child Hotkey refactor - fix tests
Aug 26, 2024
204d8f5
Child Hotkey refactor - hotkey or ss58
Aug 27, 2024
fac95af
Modify table, no prompt, other touch ups
Aug 27, 2024
0d73eaa
remove HK check
Aug 27, 2024
2da50a1
Update
Aug 27, 2024
1184c30
Merge branch 'staging' into feat/opendansor/chk
Aug 27, 2024
b8a0fd8
minor update
Aug 27, 2024
e0dfac8
ruff
Aug 27, 2024
658cbb8
ruff
Aug 27, 2024
e29f2c3
ruff
Aug 27, 2024
06e16bb
--all flag, other small changes
Aug 28, 2024
f643c7b
ruff
Aug 28, 2024
7903967
add --yes
Aug 28, 2024
a41ea54
mypy
Aug 28, 2024
c12a617
ruff
Aug 28, 2024
4f70ce4
fix network test
Aug 28, 2024
7ee01fd
final touches
Aug 28, 2024
cf1d05f
Merge pull request #2251 from opentensor/feat/opendansor/chk
Aug 28, 2024
c5ddded
Changes entrypoint to 9944
ibraheem-opentensor Aug 28, 2024
c027632
Merge pull request #2272 from opentensor/release/merge-staging-7.4.0
ibraheem-opentensor Aug 28, 2024
534951a
CHK Test
Aug 29, 2024
bdc8ba7
Merge branch 'staging' into feat/opendansor/chk
Aug 29, 2024
929538c
Merge pull request #2273 from opentensor/feat/opendansor/chk
Aug 29, 2024
cb49569
Merge pull request #2274 from opentensor/staging
Aug 29, 2024
e364e48
Updates changelog for 7.4.0
ibraheem-opentensor Aug 29, 2024
c9b3b83
Child Hot Keys Netuid (#2277)
Aug 29, 2024
71b51b2
Don't use `astype` for torch.Tensor (#2242)
thewhaleking Aug 30, 2024
6a060bf
Don't use `astype` for torch.Tensor (#2242)
thewhaleking Aug 30, 2024
bbe9f92
Merge branch 'master' into release/7.4.0
ibraheem-opentensor Sep 4, 2024
55d01a8
Merge pull request #2280 from opentensor/feat/roman/add-subtensor-rec…
roman-opentensor Sep 3, 2024
166481f
Merge pull request #2285 from opentensor/update/release-7.4.0-reconne…
ibraheem-opentensor Sep 4, 2024
1c08a9d
removed exit sys call for ConnectionRefusedError in _get_substrate (#…
garrett-opentensor Sep 6, 2024
fa47b74
Reverts logging enhancement 7.4.0
ibraheem-opentensor Sep 9, 2024
b7252cb
rollback for loggingmachine.py
roman-opentensor Sep 9, 2024
1785615
add logging type to the logging machine class
roman-opentensor Sep 9, 2024
eb10bc8
Merge pull request #2294 from opentensor/fix/revert-logging-7.4
ibraheem-opentensor Sep 9, 2024
f531c8e
Merge pull request #2255 from opentensor/release/7.4.0
ibraheem-opentensor Sep 9, 2024
73d9fd4
Release/8.0.0 (#2319)
ibraheem-opentensor Sep 25, 2024
538511c
Adds changelog and bumps version
ibraheem-opentensor Oct 2, 2024
d9d0bcf
Subtensor verbose False by default, debug logging for subtensor conne…
thewhaleking Oct 3, 2024
fe3a72e
Release 8.1.0 changes: New warning level in logging + ConnectionRefus…
ibraheem-opentensor Oct 3, 2024
e1d6b5c
Fix tests to be ready for rust-based bittensor-wallet (#2336)
roman-opentensor Oct 4, 2024
ff7f215
Merge branch 'staging' into release/8.1.0
ibraheem-opentensor Oct 4, 2024
bb23741
Updates changelog
ibraheem-opentensor Oct 4, 2024
9cdeb51
Merge pull request #2332 from opentensor/release/8.1.0
ibraheem-opentensor Oct 4, 2024
8db556a
Merge pull request #2341 from opentensor/backmerge/8.1.0
ibraheem-opentensor Oct 4, 2024
09ee380
Bumps version and wallet
ibraheem-opentensor Oct 4, 2024
99ea5bc
Merge pull request #2342 from opentensor/update-btwallet-req
ibraheem-opentensor Oct 4, 2024
dfaaf07
Updates changelog
ibraheem-opentensor Oct 4, 2024
e9e33d1
Merge pull request #2343 from opentensor/release/8.1.1
ibraheem-opentensor Oct 4, 2024
e4d37f9
remove commit from e2e tests (#2340)
roman-opentensor Oct 7, 2024
d3ce020
Fix the install command syntax
rajkaramchedu Oct 8, 2024
73eff78
Merge branch 'staging' into rajkaramchedu-patch-1
ibraheem-opentensor Oct 8, 2024
438650a
add bittensor-cli as prod deps for sdk (#2345)
roman-opentensor Oct 8, 2024
9b297a2
Merge branch 'staging' into rajkaramchedu-patch-1
ibraheem-opentensor Oct 8, 2024
1d963df
Merge pull request #2346 from opentensor/rajkaramchedu-patch-1
ibraheem-opentensor Oct 8, 2024
2e3e0a3
add config test
roman-opentensor Oct 10, 2024
8c26ae5
Bumps wallet to 2.0.2
ibraheem-opentensor Oct 10, 2024
66edd49
Updates >= for btwallet 2.0.2
ibraheem-opentensor Oct 10, 2024
b66ca87
Merge pull request #2347 from opentensor/tests/roman/add-parsing-test…
ibraheem-opentensor Oct 10, 2024
c7cbae9
Bumps version for 8.2.0
ibraheem-opentensor Oct 10, 2024
c8c5bd0
Merge pull request #2348 from opentensor/update/bumps-release/820
ibraheem-opentensor Oct 10, 2024
cbf466e
Updates changelog
ibraheem-opentensor Oct 10, 2024
bfe5708
Update README.md
rajkaramchedu Oct 10, 2024
9fda0ca
Merge pull request #2350 from opentensor/rajkaramchedu-patch-1
ibraheem-opentensor Oct 10, 2024
b288f78
Merge branch 'staging' into release/8.2.0
ibraheem-opentensor Oct 10, 2024
5edcee4
Merge pull request #2349 from opentensor/release/8.2.0
ibraheem-opentensor Oct 10, 2024
d421b16
Expands the type registry to include all the available options (#2353)
thewhaleking Oct 16, 2024
6b0fb3f
add `Subtensor.register`, `Subtensor.difficulty` and related staff wi…
roman-opentensor Oct 16, 2024
720894a
added to Subtensor: `burned_register`, `get_subnet_burn_cost`, `recyc…
roman-opentensor Oct 16, 2024
a2ae849
Poem "Risen from the Past". Act 3. (#2363)
roman-opentensor Oct 18, 2024
95d5139
default port from 9946 to 9944 (#2376)
roman-opentensor Oct 31, 2024
5aa979c
remove unused prometheus extrinsic (#2378)
roman-opentensor Nov 4, 2024
ffbc2d3
Replace rich.console to btlogging.loggin (#2377)
roman-opentensor Nov 4, 2024
835dfdb
SDK (AsyncSubtensor) Part 1 (#2374)
roman-opentensor Nov 4, 2024
f72a66b
async_transfer.py: remove prompt, refactoring
roman-opentensor Nov 4, 2024
6fae77f
async_registration.py
roman-opentensor Nov 4, 2024
33eda2d
commit_weights.py
roman-opentensor Nov 5, 2024
9dd4a0f
set_weights.py
roman-opentensor Nov 5, 2024
f7f36c4
remove all prompts
roman-opentensor Nov 5, 2024
d424cd1
SDK (AsyncSubtensor) Part 2 (#2380)
roman-opentensor Nov 5, 2024
492a0d0
Merge remote-tracking branch 'origin/staging' into feat/roman/remove-…
roman-opentensor Nov 5, 2024
fa9f581
last check
roman-opentensor Nov 5, 2024
81a9cdd
fix `tests/e2e_tests/test_commit_weights.py`
roman-opentensor Nov 5, 2024
20c8ba2
ruff
roman-opentensor Nov 5, 2024
43a01a7
Handle SSL Error on Connection (#2384)
thewhaleking Nov 5, 2024
858f732
Merge branch 'staging' into feat/roman/remove-prompt-from-sdk
roman-opentensor Nov 5, 2024
e50b59b
review comments fixed
roman-opentensor Nov 5, 2024
3e1e179
Merge pull request #2382 from opentensor/feat/roman/remove-prompt-fro…
ibraheem-opentensor Nov 5, 2024
78c94fe
Merge branch 'staging' into backmerge/8.2.0
ibraheem-opentensor Nov 5, 2024
e1a6a36
Merge pull request #2389 from opentensor/backmerge/8.2.0
ibraheem-opentensor Nov 5, 2024
22e1557
Remove `retry` and fix tests (#2392)
roman-opentensor Nov 5, 2024
570f38a
fix: logging weights correctly in utils/weight_utils.py (#2362)
grantdfoster Nov 6, 2024
892072c
Add `subvortex` subnet and tests (#2395)
roman-opentensor Nov 6, 2024
9e6f272
[Tests] AsyncSubtensor (Part 1) (#2398)
roman-opentensor Nov 8, 2024
9684d03
Extend period for fastblock e2e tests_incentive.py (#2400)
Nov 8, 2024
0375932
Remove unused import
thewhaleking Nov 8, 2024
b0439f3
Merge pull request #2401 from opentensor/fix/thewhaleking/remove-import
thewhaleking Nov 8, 2024
8e9aab6
`Reconnection substrate...` as debug (#2403)
roman-opentensor Nov 11, 2024
b5eadb3
Handles websockets v14+
thewhaleking Nov 12, 2024
df7d663
Merge pull request #2404 from opentensor/fix/thewhaleking/handle-webs…
thewhaleking Nov 12, 2024
ff17b6a
[Tests] AsyncSubtensor (Part 2) (#2407)
roman-opentensor Nov 12, 2024
f4a9c48
[Tests] AsyncSubtensor (Part 3) (#2409)
roman-opentensor Nov 13, 2024
247d92a
Handle new PasswordError from btwallet (#2406)
thewhaleking Nov 13, 2024
8aefb55
[Tests] AsyncSubtensor (Part 4) (#2410)
roman-opentensor Nov 13, 2024
b3f7e85
[Tests] AsyncSubtensor (Part 5) (#2411)
roman-opentensor Nov 13, 2024
c29e11d
Bringing back lost methods for setting weights (#2412)
roman-opentensor Nov 13, 2024
dc07733
Update bt-decode requirement
thewhaleking Nov 13, 2024
cf5c89d
Merge pull request #2413 from opentensor/fix/thewhaleking/update-bt-d…
thewhaleking Nov 13, 2024
8f733d5
[Tests] AsyncSubtensor (Part 6) (#2414)
roman-opentensor Nov 13, 2024
f6f872c
Release/8.3.0 backmerge (#2416)
roman-opentensor Nov 13, 2024
2b0b629
added tests
roman-opentensor Nov 14, 2024
fb39a2a
Fixes broken Subtensor methods (#2420)
thewhaleking Nov 14, 2024
ad9546d
Merge branch 'staging' into tests/roman/async-unti-tests-part-7
roman-opentensor Nov 14, 2024
6e07d61
Merge pull request #2418 from opentensor/tests/roman/async-unti-tests…
roman-opentensor Nov 14, 2024
7d4e633
Backmerge master to staging (#2424)
thewhaleking Nov 14, 2024
faa2223
_do_set_weights
roman-opentensor Nov 15, 2024
f6390bf
set_weights_extrinsic
roman-opentensor Nov 15, 2024
9b8b8f0
_do_commit_weights
roman-opentensor Nov 15, 2024
5ae7667
commit_weights_extrinsic
roman-opentensor Nov 15, 2024
0e35bcb
transfer_extrinsic
roman-opentensor Nov 16, 2024
24a2f96
Merge pull request #2425 from opentensor/refactor/roman/fix-registrat…
roman-opentensor Nov 16, 2024
f36e373
Merge branch 'staging' into tests/roman/unit-tests-for-async-transfer
roman-opentensor Nov 16, 2024
36dd01e
refactoring for async_root.py
roman-opentensor Nov 16, 2024
07b148c
Merge pull request #2426 from opentensor/tests/roman/unit-tests-for-a…
roman-opentensor Nov 16, 2024
74e404f
_do_set_root_weights + set_root_weights_extrinsic
roman-opentensor Nov 16, 2024
78c877b
Merge branch 'staging' into tests/roman/unit-tests-for-async-root
roman-opentensor Nov 16, 2024
681b3b6
Merge pull request #2427 from opentensor/tests/roman/unit-tests-for-a…
roman-opentensor Nov 18, 2024
88219fb
replace substrateinterface.base.Keypair with bittensor-wallet.Keypair
roman-opentensor Nov 18, 2024
a193a24
update comment
roman-opentensor Nov 18, 2024
8cdec02
Remove conda env stuff that is no longer used/needed
thewhaleking Nov 18, 2024
73c1c92
Merge pull request #2437 from opentensor/fix/thewhaleking/remove-conda
thewhaleking Nov 18, 2024
4dd66ee
move `get_neuron_for_pubkey_and_subnet` function from async_registrat…
roman-opentensor Nov 19, 2024
13f8b9d
add tests for `bittensor.core.async_subtensor.AsyncSubtensor.get_neur…
roman-opentensor Nov 19, 2024
314ddf9
convert `bittensor.core.registration.py` module to `bittensor.core.re…
roman-opentensor Nov 19, 2024
e78573e
move async stuff into separated module `bittensor/utils/registration/…
roman-opentensor Nov 19, 2024
f5ea487
global movement + ruff
roman-opentensor Nov 19, 2024
102e688
collect 2 tests modules into one
roman-opentensor Nov 19, 2024
4fe7f2e
rename test module - pytest complains about name conflict
roman-opentensor Nov 19, 2024
edc7612
ruff
roman-opentensor Nov 19, 2024
77753c1
remove duplicate types
andreea-popescu-reef Nov 19, 2024
dabd316
add neuron certificate discovery
andreea-popescu-reef Nov 19, 2024
386489b
revert `substrateinterface.base.Keypair` related replacement
roman-opentensor Nov 19, 2024
b6d2d74
Merge branch 'staging' into tests/roman/async-registration-refactoring
roman-opentensor Nov 19, 2024
5232cda
Fix typos (#2440)
omahs Nov 19, 2024
fa12005
Update bittensor/utils/registration/async_registration.py
roman-opentensor Nov 19, 2024
9812108
Merge branch 'staging' into tests/roman/async-registration-refactoring
roman-opentensor Nov 19, 2024
dd1d21b
Update bittensor/utils/registration/async_registration.py
roman-opentensor Nov 19, 2024
7afbe25
Update bittensor/utils/registration/async_registration.py
roman-opentensor Nov 19, 2024
711e03d
Update bittensor/utils/registration/async_registration.py
roman-opentensor Nov 19, 2024
f195b8f
Update bittensor/utils/registration/async_registration.py
roman-opentensor Nov 19, 2024
4d816fc
rename modules
roman-opentensor Nov 19, 2024
fdf58d6
ruff
roman-opentensor Nov 19, 2024
d39144b
Merge pull request #2439 from opentensor/tests/roman/async-registrati…
roman-opentensor Nov 19, 2024
a62f92c
Increases coverage, replaces raw chain calls with subtensor calls
ibraheem-opentensor Nov 19, 2024
6737c1f
Remove commented info
ibraheem-opentensor Nov 19, 2024
ace187e
Update bittensor/core/chain_data/neuron_certificate.py
andreea-popescu-reef Nov 20, 2024
90fc086
Update bittensor/core/chain_data/neuron_certificate.py
andreea-popescu-reef Nov 20, 2024
1e57dc2
Update bittensor/core/subtensor.py
andreea-popescu-reef Nov 20, 2024
1ba803f
Update tests/unit_tests/test_subtensor.py
andreea-popescu-reef Nov 20, 2024
350fe7a
make async register_extrinsic consistent with sync version
roman-opentensor Nov 20, 2024
db1e40c
add test for `async_registration._do_pow_register`
roman-opentensor Nov 20, 2024
6c7f10b
add test for `async_registration.register_extrinsic`
roman-opentensor Nov 20, 2024
d299571
remove unused extrinsic
roman-opentensor Nov 20, 2024
f4de7de
remove unused import
roman-opentensor Nov 20, 2024
ab54fdd
cleanup test
andreea-popescu-reef Nov 20, 2024
d6cf542
add BittensorConsole class
roman-opentensor Nov 20, 2024
a5122a0
add BittensorConsole instance to LoggingMachine class
roman-opentensor Nov 20, 2024
a028c43
update format.py
roman-opentensor Nov 20, 2024
9368030
add neuron certificate e2e test
andreea-popescu-reef Nov 20, 2024
8840d3e
Merge branch 'staging' into encrypt
andreea-popescu-reef Nov 20, 2024
023b359
review comments + some comments/fix
roman-opentensor Nov 20, 2024
a8a7a55
replace `<color><color/>` to `[color][color/]`
roman-opentensor Nov 20, 2024
7e32883
add `orange` color which is the same as `yellow` but gives us ability…
roman-opentensor Nov 20, 2024
336fb6c
Merge pull request #2445 from opentensor/tests/roman/unit-tests-for-a…
roman-opentensor Nov 20, 2024
85ecbcc
bring `filename` back to the logging formatter
roman-opentensor Nov 20, 2024
047aa55
Merge branch 'staging' into feat/roman/bittensor-console
roman-opentensor Nov 20, 2024
308ffcb
fix indent
roman-opentensor Nov 20, 2024
364f9b4
fix reconnection
roman-opentensor Nov 19, 2024
a73e456
use retry + improve logging messages
roman-opentensor Nov 19, 2024
09dcb93
remove `backoff` from requirements
roman-opentensor Nov 19, 2024
c3468ab
optimise imports
roman-opentensor Nov 19, 2024
bab874c
Merge pull request #2446 from opentensor/feat/roman/bittensor-console
roman-opentensor Nov 20, 2024
52dd864
Merge branch 'staging' into fix/roman/reconnection
roman-opentensor Nov 20, 2024
a7b5909
Fixes transfer calculations
ibraheem-opentensor Nov 20, 2024
107f421
Ruff
ibraheem-opentensor Nov 20, 2024
4d6ad65
Merge branch 'staging' into feat/abe/e2e-tests-1
roman-opentensor Nov 20, 2024
bcc7dc2
Merge pull request #2442 from opentensor/fix/roman/reconnection
roman-opentensor Nov 20, 2024
8f21d1b
add python3.12 support
roman-opentensor Nov 20, 2024
ef47604
Merge branch 'staging' into feat/abe/e2e-tests-1
ibraheem-opentensor Nov 20, 2024
666e741
Merge pull request #2443 from opentensor/feat/abe/e2e-tests-1
ibraheem-opentensor Nov 20, 2024
957df66
Merge branch 'staging' into feat/roman/support-python-3-12
roman-opentensor Nov 20, 2024
b660fe5
Merge pull request #2450 from opentensor/feat/roman/support-python-3-12
roman-opentensor Nov 21, 2024
9f92101
Merge branch 'staging' into encrypt
andreea-popescu-reef Nov 21, 2024
4cbd0be
use burned_register
andreea-popescu-reef Nov 21, 2024
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
31 changes: 6 additions & 25 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,19 +275,6 @@ jobs:
command: |
[[ $(docker manifest inspect opentensorfdn/bittensor:`cat VERSION` > /dev/null 2> /dev/null ; echo $?) == 1 ]] && echo "Docker image 'opentensorfdn/bittensor:`cat VERSION`' does not exist in dockerhub"

release-dry-run:
docker:
- image: cimg/python:3.10
steps:
- checkout
- setup_remote_docker:
version: 20.10.14
docker_layer_caching: true
- run:
name: Executing release script
command: |
./scripts/release/release.sh --github-token ${GH_API_ACCESS_TOKEN}

workflows:
compatibility_checks:
jobs:
Expand All @@ -300,6 +287,10 @@ workflows:
- check_compatibility:
python_version: "3.11"
name: check-compatibility-3.11
- check_compatibility:
python_version: "3.12"
name: check-compatibility-3.12


pr-requirements:
jobs:
Expand All @@ -311,7 +302,7 @@ workflows:
- build-and-test:
matrix:
parameters:
python-version: ["3.9.13", "3.10.6", "3.11.4"]
python-version: [ "3.9.13", "3.10.6", "3.11.4", "3.12.7" ]
requires:
- check-if-pr-is-draft
- unit-tests-all-python-versions:
Expand All @@ -320,7 +311,7 @@ workflows:
- lint-and-type-check:
matrix:
parameters:
python-version: ["3.9.13", "3.10.6", "3.11.4"]
python-version: [ "3.9.13", "3.10.6", "3.11.4", "3.12.7" ]
requires:
- check-if-pr-is-draft
#- coveralls:
Expand All @@ -339,11 +330,6 @@ workflows:
branches:
only:
- /^(release|hotfix)/.*/
- release-dry-run:
filters:
branches:
only:
- /^(release|hotfix)/.*/

release-requirements:
jobs:
Expand All @@ -352,8 +338,3 @@ workflows:
branches:
only:
- master
- release-dry-run:
filters:
branches:
only:
- master
115 changes: 0 additions & 115 deletions .github/workflows/e2e-multiple-bittensor-tests.yml

This file was deleted.

Loading
Loading