-
Notifications
You must be signed in to change notification settings - Fork 157
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
Clean hot swap #658
Closed
Closed
Clean hot swap #658
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Devnet Ready) Ban unsafe arithmetic operations
[devnet companion] prevent accidental changes to storage structs
…e-layout-devnet-2
…s-devnet-companion
[devnet-companion] fix chainspecs
[devnet-companion] prevent accidental changes to storage structs (2)
…ne-devnet-companion [devnet-companion] Fix Senate membership changes
…de-devnet-companion-2
…ion-2 [devnet-companion] safe mode
…-ready Override default pages to fix archive sync [devnet-ready]
…alpha_2 Devnet companion feat/liquid alpha 2
…key_swap [devnet companion]refactor/hotkey swap
Update spec file usage
Feat/adjust senate benchmarks
…t-ready-7-12-2024
…7-12-2024 merge main into devnet-ready 7-12-2024
* draft: hotkey swap for senate * feat: remove schedule coldkey swap * chore: fix tests * fixes for network resumption * chore: bump spec * fix: add back arbitration check * fix: hotkey * fix: coldkey arb swap hotkey * swap delegate stake also * add test for this * swap over stakinghotkeys map * check map first * add staking hotkeys test * no take * keep old stake * add check to test * fix some tests * fix delegate test * update staking hotekys maps * init * comment out * add admin swap * fix swap * .. * hotkey staking maps fix * remove staking hotkeys * remove commented code * cargo fmt * cargo fix --workspace * bump spec_version to 165 * swap hotkey benchmark removed * add migration and tests for total coldkey hotfix * adds new test for missing hotkey value * bump migration values * fmt * feat: try runtime passing * chore: remove commented code * chore: make logs human readable * chore: remove comments * Update pallets/subtensor/src/lib.rs Co-authored-by: Sam Johnson <[email protected]> * add test first * clear map before rest of migration * track weight for clear/removal * add comment * rename test * add test for emission appends staking hotkeys map * Update runtime/src/lib.rs --------- Co-authored-by: Samuel Dare <[email protected]> Co-authored-by: distributedstatemachine <[email protected]> Co-authored-by: const <[email protected]> Co-authored-by: Sam Johnson <[email protected]> Co-authored-by: Unconst <[email protected]>
[devnet-companion] Make weighted_median iterative
* draft: hotkey swap for senate * feature-gate hash * use 1.10.0-rc2 * add feature * feat: remove schedule coldkey swap * chore: fix tests * fixes for network resumption * chore: bump spec * fix: add back arbitration check * fix: hotkey * fix: coldkey arb swap hotkey * swap delegate stake also * add test for this * swap over stakinghotkeys map * check map first * add staking hotkeys test * no take * keep old stake * add check to test * fix some tests * fix delegate test * update staking hotekys maps * init * comment out * add admin swap * fix swap * .. * hotkey staking maps fix * remove staking hotkeys * remove commented code * cargo fmt * cargo fix --workspace * bump spec_version to 165 * swap hotkey benchmark removed * add migration and tests for total coldkey hotfix * adds new test for missing hotkey value * bump migration values * fmt * lock file update * add production just target * fmt * clippy * benchmarking fix * feat: try runtime passing * chore: remove commented code * chore: make logs human readable * chore: remove comments * Update pallets/subtensor/src/lib.rs Co-authored-by: Sam Johnson <[email protected]> * fmt * use rc3 with new fix polkadot-sdk/pull/4117 * incl lock * bump CI --------- Co-authored-by: Samuel Dare <[email protected]> Co-authored-by: distributedstatemachine <[email protected]> Co-authored-by: const <[email protected]> Co-authored-by: Sam Johnson <[email protected]> Co-authored-by: Unconst <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Clean up hotkey swap with new tests.