opentensor / subtensor

Bittensor Blockchain Layer
The Unlicense
117 stars 107 forks source link

Refactor/hotkey swap #556

Open distributedstatemachine opened 1 week ago

distributedstatemachine commented 1 week ago

Devnet companion: https://github.com/opentensor/subtensor/pull/567

Description

This PR :

refactors the hot key swap function to make it more testable adds unit tests

Related Issue(s)

Type of Change

Breaking Change

If this PR introduces a breaking change, please provide a detailed description of the impact and the migration path for existing applications.

Checklist

Screenshots (if applicable)

Please include any relevant screenshots or GIFs that demonstrate the changes made.

Additional Notes

Please provide any additional information or context that may be helpful for reviewers.