-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Generate storage info for pallet babe #9760
Conversation
* NextConfigDescriptor * AllowedSlots * BabeEpochConfiguration In prepation for adding storage information on pallet babe
Refactored UNDER_CONSTRUCTION_SEGMENT_LENGTH to become a runtime parameter MaxSegmentLength
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me but I would prefer if the segment wasn't configurable same as before.
`UNDER_CONSTRUCTION_SEGMENT_LENGTH` Stop exposing the bounds to the runtime
All companion errors should be fixed now, but not sure how to retrigger the checks without committing a dummy commit. |
bot merge |
Error: Approval criteria was not satisfied. The following errors might have affected the outcome of this attempt:
Merge failed. Check out the criteria for merge. |
bot merge |
Trying merge. |
/tip small |
Please fix the following problems before calling the tip bot again:
|
@georgesdib if you want to receive a tip, please add to your PR body something like: polkadot address: <address> |
Added, thank you very much for that! |
/tip small |
A small tip was successfully submitted for georgesdib (141CVLM9W5NF4wc8fyMRnRW8dvQsfKQHjNxF6tRHJmPhZqVf on polkadot). |
Fixes part of paritytech/polkadot-sdk#323
Adding storage_info to pallet babe. Adding a few
MaxEncodedLen
to facilitate this, and convertingVec
toWeakBoundedVec
andBoundedVec
Polkadot companion paritytech/polkadot#3831
@shawntabrizi @KiChjang @thiolliere