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

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

@flipchan

Description

@flipchan

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

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