Skip to content

Add commit weights and reveal weights functions#1938

Merged
opendansor merged 16 commits intostagingfrom
feature/opendansor/commit_weights
May 28, 2024
Merged

Add commit weights and reveal weights functions#1938
opendansor merged 16 commits intostagingfrom
feature/opendansor/commit_weights

Conversation

@opendansor
Copy link

Description of the Change

Add a feature to commit weights for specific subnet on the Bittensor network and also to reveal weights for a specific subnet on the Bittensor network.

For Example you can call:
$ btcli wt commit --netuid 1 --uids 1,2,3,4 --weights 0.1,0.2,0.3,0.4
to commit weights, and call
$ btcli wt reveal --netuid 1 --uids 1,2,3,4 --weights 0.1,0.2,0.3,0.4
to reveal the weights on a network.

Verification Process

Add test for coverage, and E2E test with a member of the Nucleus team to make sure compatibility on the calls to the blockchain.

Release Notes

  • Added feature to commit weights for a specific subnet.
  • Added feature to reveal weights for a specific subnet.

@opendansor opendansor changed the base branch from master to staging May 24, 2024 20:59
@opendansor opendansor linked an issue May 24, 2024 that may be closed by this pull request
@opendansor opendansor marked this pull request as ready for review May 24, 2024 23:38
@opendansor opendansor requested a review from a team May 24, 2024 23:38
Copy link
Contributor

@thewhaleking thewhaleking left a comment

Choose a reason for hiding this comment

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

Bunch of little things. Overall good.

Copy link
Collaborator

@basfroman basfroman left a comment

Choose a reason for hiding this comment

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

Small style fix required. Overall looks good!

@opendansor opendansor merged commit 9628ca7 into staging May 28, 2024
ibraheem-abe pushed a commit that referenced this pull request May 28, 2024
…ights

Add commit weights and reveal weights functions
@ibraheem-abe ibraheem-abe mentioned this pull request May 28, 2024
@thealligatorking thealligatorking mentioned this pull request Jun 1, 2024
@thealligatorking thealligatorking mentioned this pull request Jun 4, 2024
thealligatorking pushed a commit that referenced this pull request Jun 5, 2024
…ights

Add commit weights and reveal weights functions
@thewhaleking thewhaleking deleted the feature/opendansor/commit_weights branch October 2, 2024 14:55
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.

Commit Reveal Weights

3 participants