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.3 #2712

Merged
merged 73 commits into from
Feb 27, 2025
Merged
Changes from 7 commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
52e68e3
Rename `install_templates`, have it correctly use the bittensor filep…
thewhaleking Feb 18, 2025
045c1e4
Increase the waiting period to reduce flakiness in `test_commit_weigh…
thewhaleking Feb 18, 2025
1e0e358
Merge branch 'staging' into fix/thewhaleking/fix-e2e-test-installation
thewhaleking Feb 18, 2025
7aef0c5
Remove bittensor installation/uninstallation, appears not to actually…
thewhaleking Feb 18, 2025
e1ef6c1
Updates test incentive
ibraheem-opentensor Feb 20, 2025
ef53e53
Merge branch 'tests/rust_upgrade' into fix/e2e-test-incentive
zyzniewski-reef Feb 21, 2025
b8ee726
tests: increase waiting time in test_incentive
zyzniewski-reef Feb 21, 2025
070fa43
Merge branch 'staging' into fix/e2e-test-incentive
zyzniewski-reef Feb 21, 2025
6186366
Merge branch 'staging' into fix/e2e-test-incentive
roman-opentensor Feb 21, 2025
8347495
Merge branch 'staging' into fix/e2e-test-incentive
ibraheem-opentensor Feb 22, 2025
7703786
fix: typos in config test
EricHasegawa Feb 24, 2025
f602222
Merge branch 'staging' into master
thewhaleking Feb 24, 2025
5e498c8
Merge branch 'staging' into master
thewhaleking Feb 24, 2025
ce57322
Merge branch 'staging' into master
thewhaleking Feb 24, 2025
f355b9c
Merge branch 'staging' into master
thewhaleking Feb 25, 2025
8245f64
Merge branch 'staging' into fix/e2e-test-incentive
zyzniewski-reef Feb 25, 2025
0adc99a
tests: fix e2e wait_epoch
zyzniewski-reef Feb 25, 2025
8b60b64
tests: improve test_incentive waiting time
zyzniewski-reef Feb 25, 2025
fa1e8fe
Fixes get_all_commitments, adds tests.
thewhaleking Feb 25, 2025
c172d44
Merge branch 'staging' into fix/thewhaleking/get-all-commitments-fix
thewhaleking Feb 25, 2025
0f8d278
Merge pull request #2693 from EricHasegawa/master
thewhaleking Feb 25, 2025
313467d
Merge branch 'staging' into fix/thewhaleking/get-all-commitments-fix
thewhaleking Feb 25, 2025
46a08fe
Use `.value` in e2e test
thewhaleking Feb 25, 2025
a25bb64
tests: wait 4 epochs for e2e test_incentive
zyzniewski-reef Feb 25, 2025
28a77a5
Removes limits in async + unstake_mul
ibraheem-opentensor Feb 25, 2025
6f7c039
ruff
ibraheem-opentensor Feb 25, 2025
4ec4618
Merge pull request #2701 from opentensor/fix/remove-limits-unstaking
ibraheem-opentensor Feb 25, 2025
6eac932
Merge branch 'staging' into fix/thewhaleking/get-all-commitments-fix
ibraheem-opentensor Feb 25, 2025
80634e0
Merge pull request #2699 from opentensor/fix/thewhaleking/get-all-com…
thewhaleking Feb 25, 2025
dfaf1a2
Merge branch 'staging' into fix/thewhaleking/e2e-uses-dot-value
thewhaleking Feb 25, 2025
d32cd83
Merge branch 'staging' into fix/e2e-test-incentive
ibraheem-opentensor Feb 25, 2025
96faab4
Merge pull request #2700 from opentensor/fix/thewhaleking/e2e-uses-do…
thewhaleking Feb 25, 2025
eb11a68
Merge branch 'staging' into fix/thewhaleking/fix-e2e-test-installation
thewhaleking Feb 25, 2025
594a70f
Merge branch 'staging' into fix/e2e-test-incentive
thewhaleking Feb 25, 2025
78e2ff6
Adds a try:except catch for the `__del__` method, as `self.close_sess…
thewhaleking Feb 25, 2025
344fdb1
Add tests
thewhaleking Feb 25, 2025
cfdb40c
Added debug logging.
thewhaleking Feb 25, 2025
ef31635
Merge pull request #2681 from opentensor/fix/thewhaleking/fix-e2e-tes…
thewhaleking Feb 25, 2025
8377fb7
Merge branch 'staging' into fix/thewhaleking/dendrite-del-method
thewhaleking Feb 25, 2025
d682c50
Merge branch 'staging' into fix/e2e-test-incentive
thewhaleking Feb 25, 2025
ab1676d
tests: wait_epoch (instead of fixed time) in test_set_weights
zyzniewski-reef Feb 26, 2025
ecabcde
tests: wait 4 epochs in test_set_weights
zyzniewski-reef Feb 26, 2025
380c5a3
Merge pull request #2702 from opentensor/fix/thewhaleking/dendrite-de…
thewhaleking Feb 26, 2025
cea1b70
Merge branch 'staging' into tests/zyzniewski/fix_e2e_test_set_weights
thewhaleking Feb 26, 2025
ede515a
Merge branch 'staging' into fix/e2e-test-incentive
thewhaleking Feb 26, 2025
b9561dd
Adds `get_timestamp` method to `Subtensor` and `AsyncSubtensor`
thewhaleking Feb 26, 2025
a641141
Merge branch 'staging' into feat/thewhaleking/add-timestamp
thewhaleking Feb 26, 2025
b30aea0
Python 3.9 compatibility
thewhaleking Feb 26, 2025
ad0cc3d
Mypy…
thewhaleking Feb 26, 2025
5804210
Merge pull request #2703 from opentensor/tests/zyzniewski/fix_e2e_tes…
zyzniewski-reef Feb 26, 2025
d352fd5
Merge branch 'staging' into fix/e2e-test-incentive
zyzniewski-reef Feb 26, 2025
7b7c1cf
fix: async get_delegated
zyzniewski-reef Feb 26, 2025
427b55a
Merge branch 'staging' into feat/thewhaleking/add-timestamp
thewhaleking Feb 26, 2025
a888521
Merge pull request #2688 from opentensor/fix/e2e-test-incentive
zyzniewski-reef Feb 26, 2025
4911c77
fix: properly mock data_chain class methods
zyzniewski-reef Feb 26, 2025
b34a61b
Merge branch 'staging' into tests/zyzniewski/proper_mock
zyzniewski-reef Feb 26, 2025
e696b5e
ruff formating
zyzniewski-reef Feb 26, 2025
68bd49c
Merge branch 'staging' into feat/thewhaleking/add-timestamp
thewhaleking Feb 26, 2025
19de20b
Merge branch 'staging' into fix/zyzniewski/async_get_delegated
ibraheem-opentensor Feb 26, 2025
a88e2d7
Merge pull request #2704 from opentensor/feat/thewhaleking/add-timestamp
thewhaleking Feb 26, 2025
61c8c70
Merge branch 'staging' into fix/zyzniewski/async_get_delegated
ibraheem-opentensor Feb 26, 2025
02ea729
Merge pull request #2706 from opentensor/fix/zyzniewski/async_get_del…
ibraheem-opentensor Feb 26, 2025
3e8ffff
Merge branch 'staging' into tests/zyzniewski/proper_mock
thewhaleking Feb 26, 2025
bc3d43b
Merge pull request #2705 from opentensor/tests/zyzniewski/proper_mock
zyzniewski-reef Feb 26, 2025
5cd192e
Installs btcli along with bittensor for the `install.sh` script.
thewhaleking Feb 26, 2025
8be7bc8
Removed legacy text.
thewhaleking Feb 26, 2025
3106ee7
Merge pull request #2708 from opentensor/feat/thewhaleking/install-bt…
thewhaleking Feb 26, 2025
c6a63ea
Bumps deps
ibraheem-opentensor Feb 26, 2025
1bfe0b8
Merge pull request #2710 from opentensor/bump/async-substrate-wallet-…
ibraheem-opentensor Feb 26, 2025
bf76364
Merge branch 'master' into backmerge/main-staging-902
ibraheem-opentensor Feb 26, 2025
48dd95e
Merge branch 'staging' into backmerge/main-staging-902
ibraheem-opentensor Feb 26, 2025
ed700b2
Merge pull request #2711 from opentensor/backmerge/main-staging-902
ibraheem-opentensor Feb 27, 2025
4f57bd1
Bumps version and changelog
ibraheem-opentensor Feb 27, 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 tests/e2e_tests/test_commit_weights.py
Original file line number Diff line number Diff line change
@@ -267,7 +267,7 @@ async def test_commit_weights_uses_next_nonce(local_chain, subtensor, alice_wall
assert success is True

# Wait a few blocks
await asyncio.sleep(2) # Wait for the txs to be included in the chain
await asyncio.sleep(10) # Wait for the txs to be included in the chain

# Query the WeightCommits storage map for all three salts
weight_commits = subtensor.query_module(
2 changes: 1 addition & 1 deletion tests/e2e_tests/utils/chain_interactions.py
Original file line number Diff line number Diff line change
@@ -81,7 +81,7 @@ async def wait_epoch(subtensor: "Subtensor", netuid: int = 1):
q_tempo = [v for (k, v) in subtensor.query_map_subtensor("Tempo") if k == netuid]
if len(q_tempo) == 0:
raise Exception("could not determine tempo")
tempo = q_tempo[0]
tempo = q_tempo[0].value
logging.info(f"tempo = {tempo}")
await wait_interval(tempo, subtensor, netuid)

6 changes: 0 additions & 6 deletions tests/e2e_tests/utils/e2e_test_utils.py
Original file line number Diff line number Diff line change
@@ -78,12 +78,7 @@ def clone_or_update_templates(specific_commit=None):
return install_dir + templates_repo


def install_templates(install_dir):
subprocess.check_call([sys.executable, "-m", "pip", "install", "-e", "."])


def uninstall_templates(install_dir):
subprocess.check_call([sys.executable, "-m", "pip", "uninstall", "bittensor", "-y"])
# Delete everything in directory
shutil.rmtree(install_dir)

@@ -93,7 +88,6 @@ def __init__(self):
self.dir = clone_or_update_templates()

def __enter__(self):
install_templates(self.dir)
return self

def __exit__(self, exc_type, exc_value, traceback):
Loading
Oops, something went wrong.