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

Hotfix staking maps #633

Closed
wants to merge 24 commits into from
Closed

Hotfix staking maps #633

wants to merge 24 commits into from

Conversation

unconst
Copy link
Contributor

@unconst unconst commented Jul 13, 2024

Description

  • Adds a call to perform a hotfix which swaps over already-swapped scheduled coldkeys' delegated stake, as intended.
    • Also updates StakingHotkeys map and corresponding stake values.
    • Adds corresponding tests
  • Patches the coldkey stake swap function to include delegated stake entries and map entries.
  • Removes hotkey swap call (temporary)

camfairchild
camfairchild previously approved these changes Jul 15, 2024
@sam0x17
Copy link
Contributor

sam0x17 commented Jul 15, 2024

that unused weight variable seems to be the only remaining thing, I'll just comment it out

@camfairchild
Copy link
Contributor

Included in #636

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