Skip to content

Devnet Rebase#667

Merged
unconst merged 242 commits intodevnetfrom
devnet-ready
Jul 22, 2024
Merged

Devnet Rebase#667
unconst merged 242 commits intodevnetfrom
devnet-ready

Conversation

@distributedstatemachine
Copy link
Collaborator

Devnet rebase

Related Issue(s)

  • Closes #[issue number]

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Other (please describe):

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

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have run cargo fmt and cargo clippy to ensure my code is formatted and linted correctly
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

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.

keithtensor and others added 30 commits June 18, 2024 23:40
add CI check for companion labels, update deployment docs
remove --execution and --wasm-execution
sam0x17 and others added 29 commits July 13, 2024 10:42
…7-12-2024

merge main into devnet-ready 7-12-2024
Co-authored-by: Sam Johnson <sam@durosoft.com>
…istency

Fix issues with Subtensor storage versions
…tion-clear-first

Fix/total coldkey stake migration; clear map first
* 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 <sam@durosoft.com>

* 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 <sam@tunnelvisionlabs.xyz>
Co-authored-by: distributedstatemachine <112424909+distributedstatemachine@users.noreply.github.com>
Co-authored-by: const <const@moncks-MacBook-Pro.local>
Co-authored-by: Sam Johnson <sam@durosoft.com>
Co-authored-by: Unconst <32490803+unconst@users.noreply.github.com>
[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 <sam@durosoft.com>

* fmt

* use rc3 with new fix polkadot-sdk/pull/4117

* incl lock

* bump CI

---------

Co-authored-by: Samuel Dare <sam@tunnelvisionlabs.xyz>
Co-authored-by: distributedstatemachine <112424909+distributedstatemachine@users.noreply.github.com>
Co-authored-by: const <const@moncks-MacBook-Pro.local>
Co-authored-by: Sam Johnson <sam@durosoft.com>
Co-authored-by: Unconst <32490803+unconst@users.noreply.github.com>
This reverts commit c9202c9, reversing
changes made to a2b8d70.
Revert "Merge branch 'devnet-ready' into main"
@unconst unconst merged commit fb2484b into devnet Jul 22, 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.

9 participants