Skip to content

[v10] Improve extrinsics logic and related subtensor calls#3074

Merged
basfroman merged 23 commits intoSDKv10from
feat/roman/improve-extrinsics
Sep 29, 2025
Merged

[v10] Improve extrinsics logic and related subtensor calls#3074
basfroman merged 23 commits intoSDKv10from
feat/roman/improve-extrinsics

Conversation

@basfroman
Copy link
Collaborator

  • The new logic is fully compatible with the previous API.
  • ExtrinsicResponse class was improved with extended logic.
  • All extrinsics are implemented so that the user can choose to "raise an error" or return an ExtrinsicResponse with the error content. This significantly improves usability and enables data analysis and parsing.
  • The next extrinsics have extra data in Extrinsic response:
    • add_stake_extrinsic
    • add_stake_multiple_extrinsic
    • burned_register_extrinsic
    • register_extrinsic
    • transfer_extrinsic
    • unstake_extrinsic
    • unstake_multiple_extrinsic
  • Updated subtensor methods:
    • method all_subnets has renamed parameter from block_number to block (consistency in the codebase).
    • The hotkey parameter, which meant ss58 key address, was renamed to hotkey_ss58 in all methods (consistency in the codebase).
    • The coldkey parameter, which meant ss58 key address, was renamed to coldkey_ss58 in all methods (consistency in the codebase).
    • method query_subtensor has updated parameters order.
    • method query_module has updated parameters order.
    • method query_map_subtensor has updated parameters order.
    • method query_map has updated parameters order.
    • method add_stake_multiple has updated parameters order.
  • Deprecated support for CRv3 has been completely removed.
  • All related tests are updated.

@basfroman basfroman self-assigned this Sep 29, 2025
@basfroman basfroman added the enhancement New feature or request label Sep 29, 2025
@basfroman basfroman mentioned this pull request Sep 29, 2025
@basfroman basfroman merged commit bf733bd into SDKv10 Sep 29, 2025
331 checks passed
@basfroman basfroman deleted the feat/roman/improve-extrinsics 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

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant