Skip to content

[v10] Removing deprecated extrinsics and replacing them with consistent ones#3064

Merged
basfroman merged 6 commits intoSDKv10from
feat/roman/removing-deprecated-extrinsics-and-replacing-them-with-consistent-ones
Sep 23, 2025
Merged

[v10] Removing deprecated extrinsics and replacing them with consistent ones#3064
basfroman merged 6 commits intoSDKv10from
feat/roman/removing-deprecated-extrinsics-and-replacing-them-with-consistent-ones

Conversation

@basfroman
Copy link
Collaborator

@basfroman basfroman commented Sep 23, 2025

Some extrinsics have been deprecated and removed. At the same time, to maintain a familiar appearance and consistency, mechanism-supported extrinsics will be moved to the corresponding weight extrinsics modules.

Removing deprecated extrinsics and replacing them with consistent ones:

  • commit_reveal_extrinsic (without mechanisms support) + related tests

    • bittensor.core.extrinsics.mechanism.commit_timelocked_mechanism_weights_extrinsic moved and renamed to bittensor.core.extrinsics.weights.commit_timelocked_weights_extrinsic
    • bittensor.core.extrinsics.asyncex.mechanism.commit_timelocked_mechanism_weights_extrinsic moved and renamed to bittensor.core.extrinsics.asyncex.weights.commit_timelocked_weights_extrinsic
  • commit_weights_extrinsic(without mechanisms support) + related tests

    • bittensor.core.extrinsics.mechanism.commit_mechanism_weights_extrinsic moved and renamed to bittensor.core.extrinsics.weights.commit_weights_extrinsic
    • bittensor.core.extrinsics.asyncex.mechanism.commit_mechanism_weights_extrinsic moved and renamed to bittensor.core.extrinsics.asyncex.weights.commit_weights_extrinsic
  • reveal_weights_extrinsic(without mechanisms support) + related tests

    • bittensor.core.extrinsics.mechanism.reveal_mechanism_weights_extrinsic moved and renamed to bittensor.core.extrinsics.weights.reveal_weights_extrinsic
    • bittensor.core.extrinsics.asyncex.mechanism.reveal_mechanism_weights_extrinsic moved and renamed to bittensor.core.extrinsics.asyncex.weights.reveal_weights_extrinsic
  • set_weights_extrinsic(without mechanisms support) + related tests

    • bittensor.core.extrinsics.mechanism.set_mechanism_weights_extrinsic moved and renamed to bittensor.core.extrinsics.weights.set_weights_extrinsic
    • bittensor.core.extrinsics.asyncex.mechanism.set_mechanism_weights_extrinsic moved and renamed to bittensor.core.extrinsics.asyncex.weights.set_weights_extrinsic

@basfroman basfroman self-assigned this Sep 23, 2025
@basfroman basfroman changed the title Removing deprecated extrinsics and replacing them with consistent ones [v10] Removing deprecated extrinsics and replacing them with consistent ones Sep 23, 2025
@basfroman basfroman mentioned this pull request Sep 23, 2025
@basfroman basfroman merged commit a288338 into SDKv10 Sep 23, 2025
571 of 628 checks passed
@basfroman basfroman deleted the feat/roman/removing-deprecated-extrinsics-and-replacing-them-with-consistent-ones branch September 23, 2025 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant