substrate
substrate copied to clipboard
`MaxUnlockingChunks` should be configurable via Runtime
StakingLedger in the pallet-staking is using a hardcoded value of MaxUnlockingChunks. Pallet-staking also has a MaxUnlockingChunks in the configuration which is not used anywhere.
I discussed this with @kianenigma, we should remove the hard coded value and use the value we get from Config.
Taking it