Skip to content

Conversation

@thewhaleking
Copy link
Contributor

Description of the Change

Adds a new method get_parents to Subtensor and AsyncSubtensor (and SubtensorAPI) that allows for fetching the parent and proportions for a given child hotkey/netuid.

Quantitative Performance Benefits

Allows users to query the parent hotkey of a child.

Possible Drawbacks

None

Verification Process

Added a test in the e2e testing to verify.

Applicable Issues

N/A

Release Notes

  • Adds a new method get_parents to Subtensor and AsyncSubtensor (and SubtensorAPI) that allows for fetching the parent and proportions for a given child hotkey/netuid.

Branch Acknowledgement

[x] I am acknowledging that I am opening this branch against staging

@thewhaleking thewhaleking requested a review from a team June 3, 2025 15:09
ibraheem-abe
ibraheem-abe previously approved these changes Jun 3, 2025
@thewhaleking thewhaleking requested a review from basfroman June 3, 2025 17:53
@basfroman basfroman merged commit 6950464 into staging Jun 3, 2025
128 checks passed
@basfroman basfroman deleted the feat/thewhaleking/add-parent-hotkeys branch June 3, 2025 19:24
@ibraheem-abe ibraheem-abe mentioned this pull request Jul 7, 2025
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.

4 participants