Skip to content

[v10] Update and add new Markdown files#3095

Merged
basfroman merged 5 commits intoSDKv10from
docs/roman/add-and-update-md-files
Oct 13, 2025
Merged

[v10] Update and add new Markdown files#3095
basfroman merged 5 commits intoSDKv10from
docs/roman/add-and-update-md-files

Conversation

@basfroman
Copy link
Collaborator

@basfroman basfroman commented Oct 10, 2025

Eventually, the docs directory will be deleted, and all data will be presented in the migration guide at https://docs.learnbittensor.org/

@basfroman basfroman requested review from a team and MichaelTrestman October 10, 2025 21:40
@basfroman basfroman self-assigned this Oct 10, 2025
@basfroman basfroman added the documentation Improvements or additions to documentation label Oct 10, 2025
@basfroman basfroman mentioned this pull request Oct 10, 2025
@basfroman basfroman changed the title Update and add new Markdown files [v10] Update and add new Markdown files Oct 13, 2025
Copy link

@chideraao chideraao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left some comments/suggestions.

tried to reorganize the structure of the NEW_FEATURES file.

### Method Renames
| Old Method | New Method | Notes |
|------------|------------|-------|
| `subtensor.get_subnets()` | `subtensor.get_all_subnets_netuid()` | More descriptive name |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the context of this method? looks like it should return all subnets but then what's the purpose of including the _netuid?

| Old Method | New Method | Notes |
|------------|------------|-------|
| `subtensor.get_subnets()` | `subtensor.get_all_subnets_netuid()` | More descriptive name |
| `subtensor.get_stake_for_coldkey()` | `subtensor.get_stake_info_for_coldkey()` | Removed duplicate method |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about subtensor.get_coldkey_stake_info()?

| - | `from bittenosor import extrinsics` | Direct subpackage import |
| - | `from bittensor import mock` | Direct subpackage import |
| - | `from bittensor import get_async_subtensor` | Direct factory function import |
NOTE: **References to classes with non-capitalize names are no longer available in Bittensor SDK**

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
NOTE: **References to classes with non-capitalize names are no longer available in Bittensor SDK**
NOTE: **References to classes with non-capitalized names are no longer available from Bittensor SDK v10**

| - | `from bittensor import get_async_subtensor` | Direct factory function import |
NOTE: **References to classes with non-capitalize names are no longer available in Bittensor SDK**

## Mechanisms related changes:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Mechanisms related changes:
Subnet mechanism–related changes

### New Classes
- `bittensor.core.types.ExtrinsicResponse` - response for all extrinsics and related calls.
- `bittensor.core.types.BlockInfo` - result avalable from subtensor method `Async/Subtensor.get_block_info()`. Provides comprehensive information about a block in the blockchain, includes the link to block explorer on web service.
- `bittensor.core.errors.BalanceTypeError` - rises when expected amount of balance privided with wrong type data.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- `bittensor.core.errors.BalanceTypeError` - rises when expected amount of balance privided with wrong type data.
- `bittensor.core.errors.BalanceTypeError` - rises when the expected amount of balance is provided with wrong data type.

Now all stake operations fee is calculated with new `SimSwap` logic via `subtensor.sim_swap` method. Detailed logic you can find in class `bittensor.core.chain_data.sim_swap.SimSwapResult`.


## Refined Logging Levels and Console Utilities

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Refined Logging Levels and Console Utilities
### Refined Logging Levels and Console Utilities

```
This design ensures that all logging remains both minimal by default and fully transparent on demand, depending on the user’s debugging needs.

## Crowdloan implementation

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Crowdloan implementation
### Crowdloan implementation

## Crowdloan implementation
The Crowdloan implementation is expected to be included in the final release of SDKv10.

## Docstring Refactor and Standardization

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Docstring Refactor and Standardization
### Docstring Refactor and Standardization

A large-scale refactor has been applied to docstrings across the entire SDK to improve clarity, consistency, and technical accuracy.
Outdated or redundant descriptions have been removed, and all remaining docstrings were rewritten to follow a unified structure and terminology.

## Resolution of TODOs

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Resolution of TODOs
### Resolution of TODOs

This cleanup improves overall maintainability, eliminates dead code paths, and ensures that every remaining comment in the SDK reflects active, intentional functionality rather than deferred work.
This update makes the inline documentation more transparent, readable, and aligned with current SDK behavior, ensuring developers can quickly understand method purposes, parameter semantics, and expected return types without referring to external sources.

## Testing and Development Enhancements

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Testing and Development Enhancements
### Testing and Development Enhancements

@basfroman basfroman merged commit 3248514 into SDKv10 Oct 13, 2025
359 checks passed
basfroman added a commit that referenced this pull request Oct 14, 2025
…-files

[v10] Update and add new `Markdown` files
@basfroman basfroman deleted the docs/roman/add-and-update-md-files branch December 8, 2025 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants