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

[MOON-1806] remove deprecated parachain-staking items #1700

Merged
merged 4 commits into from
Jul 26, 2022

Conversation

nbaztec
Copy link
Contributor

@nbaztec nbaztec commented Jul 21, 2022

What does it do?

⚠️ Breaking Change ⚠️

Removes the following deprecated storage items:

  • NominatorState2
  • CandidateState
  • CollatorState2

and the following precompiles associated with them:

  • min_nomination()
  • collator_nomination_count(address)
  • nominator_nomination_count(address)
  • is_nominator(address)
  • leave_candidates(uint256)
  • candidate_bond_less(uint256)
  • nominate(address,uint256,uint256,uint256)
  • leave_nominators(uint256)
  • revoke_nomination(address)
  • nominator_bond_less(address,uint256)
  • nominator_bond_more(address,uint256)

The storage items were verified to be empty for our networks.

Also removes the already-performed ParachainStakingIncreaseMaxDelegationsPerCandidate migration.

What important points reviewers should know?

Is there something left for follow-up PRs?

What alternative implementations were considered?

Are there relevant PRs or issues in other repositories (Substrate, Polkadot, Frontier, Cumulus)?

What value does it bring to the blockchain users?

@nbaztec nbaztec added B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes D2-breaksapi This PR changes public API; next release should be major. D5-nicetohaveaudit⚠️ PR contains trivial changes to logic that should be properly reviewed. labels Jul 21, 2022
@nbaztec nbaztec requested a review from librelois July 22, 2022 09:48
@nbaztec nbaztec merged commit 7d4f5fc into master Jul 26, 2022
@nbaztec nbaztec deleted the nish-remove-deprecated-staking branch July 26, 2022 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes D2-breaksapi This PR changes public API; next release should be major. D5-nicetohaveaudit⚠️ PR contains trivial changes to logic that should be properly reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants