Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Moving MAX_UNLOCKING_CHUNKS to become a runtime parameter#10759

Closed
georgesdib wants to merge 2 commits intoparitytech:masterfrom
georgesdib:master
Closed

Moving MAX_UNLOCKING_CHUNKS to become a runtime parameter#10759
georgesdib wants to merge 2 commits intoparitytech:masterfrom
georgesdib:master

Conversation

@georgesdib
Copy link
Copy Markdown
Contributor

@georgesdib georgesdib commented Jan 30, 2022

Part of #9864, one little step at a time at making pallet-staking "bounded".

Fixes part of paritytech/polkadot-sdk#323.

Summary of changes below:

  • Fixed error in URL link.
  • Moving MAX_UNLOCKING_CHUNKS from being a constant to becoming a runtime parameter MaxUnlockingChunks.
  • Bounding StakingLedger.
  • Adding some utilities to BoundedVec.

Polkadot companion: paritytech/polkadot#4811

@kianenigma

@kianenigma
Copy link
Copy Markdown
Contributor

seems to overlap mostly with #10670

@georgesdib can you DM me in element to coordinate more on future contributions? Thanks!

@georgesdib
Copy link
Copy Markdown
Contributor Author

seems to overlap mostly with #10670

@georgesdib can you DM me in element to coordinate more on future contributions? Thanks!

I will close this PR as indeed it overlaps as you mention, thanks.

@georgesdib georgesdib closed this Jan 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants