This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Name standard for pallet's storage migrations functions? #14609
Copy link
Copy link
Open
Labels
J0-enhancementAn additional feature request.An additional feature request.J2-unconfirmedIssue might be valid, but it’s not yet known.Issue might be valid, but it’s not yet known.
Description
Is there an existing issue?
- I have searched the existing issues
Experiencing problems? Have you tried our Stack Exchange first?
- This is not a support question.
Motivation
I'm currently working on a way to "auto find" storage migrations that have already been implemented for pallets.
Github issue:
uptest-sc/uptest#64
Request
Hello Everyone,
I'm currently trying to make a feature for
It would be amazing if there could be a naming standard or a recommended function name format for storage migrations. As of today their is no "rfc"-like standard for naming the functions that trigger storage migrations.
For examples, pallet-balances v0 -> v1:
migration_balances_v01.rs
Is their any naming guide lines for naming migration functions at the moment?
Moderator: If this issue belongs more on stackexchange, let me know and I shall move it. I thought this would be best suited to post here.
Thanks
Solution
No response
Are you willing to help with this request?
Yes!
Metadata
Metadata
Assignees
Labels
J0-enhancementAn additional feature request.An additional feature request.J2-unconfirmedIssue might be valid, but it’s not yet known.Issue might be valid, but it’s not yet known.