Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add batched extrinsics for setting weights #1018

Open
4 of 5 tasks
gztensor opened this issue Nov 26, 2024 · 1 comment · Fixed by #1022 · May be fixed by opentensor/bittensor#2485
Open
4 of 5 tasks

Add batched extrinsics for setting weights #1018

gztensor opened this issue Nov 26, 2024 · 1 comment · Fixed by #1022 · May be fixed by opentensor/bittensor#2485
Assignees

Comments

@gztensor
Copy link
Contributor

gztensor commented Nov 26, 2024

Issue: The utility pallet batching extrinsics require users to pay fees proportionally to the number of batched extrinsics, despite the set_weights being free. There's also chain bloating issue for multiple set_weights being called.

Solution: Add methods batch_set_weights and batch_commit_weights that would allow to set/commit weights to the multiple subnets from one hotkey using one extrinsic.

AC:

  • Extrinsics
  • unit tests for happy path
  • unit tests for failures
  • e2e tests for happy path
  • e2e tests for rate limiting
@gztensor
Copy link
Contributor Author

gztensor commented Dec 5, 2024

PR: #1022

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 a pull request may close this issue.

2 participants