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

Name standard for pallet's storage migrations functions? #14609

Open
@flipchan

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    J0-enhancementAn additional feature request.J2-unconfirmedIssue might be valid, but it’s not yet known.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions