-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tests] AsyncSubtensor (Part 2) (#2407)
* test for `AsyncSubtensor.get_stake_info_for_coldkey` * test for `AsyncSubtensor.get_stake_for_coldkey_and_hotkey` * test for `AsyncSubtensor.query_runtime_api` * test for `AsyncSubtensor.get_balance` * added test `AsyncSubtensor.test_get_transfer_fee` (3 cases) * optimized import * added tests for `AsyncSubtensor.get_total_stake_for_*` * ruff * Update bittensor/core/async_subtensor.py Co-authored-by: Cameron Fairchild <[email protected]> * Update bittensor/core/async_subtensor.py Co-authored-by: Cameron Fairchild <[email protected]> --------- Co-authored-by: Cameron Fairchild <[email protected]>
- Loading branch information
1 parent
df7d663
commit ff17b6a
Showing
3 changed files
with
343 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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 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 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