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

fix: coldkeypub usage instead of coldkey for arbitration_stats #2132

Merged

Conversation

Rapiiidooo
Copy link
Contributor

Usage of the coldkeypub instead of coldkey

Change the method that performs a check of the current arbitration data (if any), use the coldkeypub instead of the coldkey.
It increases the performance as the file decryption doesn't need to occur.
It's also more secure as the password should not be required for that stat.

Quantitative Performance Benefits

Few seconds.

Verification Process

Re-ran the method and it works correctly.

Release Notes

  • The Arbitration stats check method now use coldkeypub to improve the performance and the security.

@Rapiiidooo Rapiiidooo force-pushed the check_coldkey_swap_from_pub branch from 5bb4f26 to 4ad27ad Compare July 13, 2024 00:44
@Rapiiidooo Rapiiidooo changed the base branch from master to staging July 15, 2024 16:51
@Rapiiidooo Rapiiidooo force-pushed the check_coldkey_swap_from_pub branch 5 times, most recently from ae9326f to 213a7e0 Compare July 15, 2024 17:10
@ibraheem-opentensor
Copy link
Contributor

Hey @Rapiiidooo
Can you fetch the latest staging and rebase off of it? We back-merged master recently into staging to get all changes.

@Rapiiidooo Rapiiidooo force-pushed the check_coldkey_swap_from_pub branch from e8d9a02 to b880dc2 Compare July 16, 2024 07:34
@Rapiiidooo
Copy link
Contributor Author

Thank you 😄 ! It is all good now @ibraheem-opentensor

Copy link
Contributor

@ibraheem-opentensor ibraheem-opentensor left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@ibraheem-opentensor ibraheem-opentensor merged commit 9f99bd4 into opentensor:staging Jul 16, 2024
30 of 31 checks passed
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.

5 participants