Skip to content

Improvement and fix for https://github.com/opentensor/bittensor/pull/2781#2787

Merged
basfroman merged 2 commits intostagingfrom
feat/roman/metagraph-commitments-interfaces
Apr 4, 2025
Merged

Improvement and fix for https://github.com/opentensor/bittensor/pull/2781#2787
basfroman merged 2 commits intostagingfrom
feat/roman/metagraph-commitments-interfaces

Conversation

@basfroman
Copy link
Collaborator

Added Subtensor methods (async/sync):

  • get_revealed_commitment get revealed commitments based on netuid and uid
  • get_revealed_commitment_by_hotkey get revealed commitments based on netuid and hotkey
  • get_all_revealed_commitments get all reveled commitments in subnet based in netuid
  • set_reveal_commitment set commitments to specific subnet with blocks_until_reveal (number of blocks from now after which the data will be revealed)
  • a few helper functions
  • e2e test for mentioned methods

@basfroman basfroman requested a review from a team April 4, 2025 02:12
@basfroman basfroman self-assigned this Apr 4, 2025
@basfroman basfroman added bug Something isn't working enhancement New feature or request labels Apr 4, 2025
Co-authored-by: BD Himes <37844818+thewhaleking@users.noreply.github.com>
@basfroman basfroman requested a review from thewhaleking April 4, 2025 16:03
@basfroman basfroman merged commit 120ca3b into staging Apr 4, 2025
125 checks passed
@basfroman basfroman deleted the feat/roman/metagraph-commitments-interfaces branch April 4, 2025 16:23
@ibraheem-abe ibraheem-abe mentioned this pull request Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants