Skip to content

fix: coldkeypub usage instead of coldkey for arbitration_stats#2132

Merged
ibraheem-abe merged 1 commit intoopentensor:stagingfrom
Rapiiidooo:check_coldkey_swap_from_pub
Jul 16, 2024
Merged

fix: coldkeypub usage instead of coldkey for arbitration_stats#2132
ibraheem-abe merged 1 commit intoopentensor:stagingfrom
Rapiiidooo:check_coldkey_swap_from_pub

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-abe
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-abe ibraheem-abe 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-abe ibraheem-abe merged commit 9f99bd4 into opentensor:staging Jul 16, 2024
@ibraheem-abe ibraheem-abe mentioned this pull request Aug 23, 2024
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