Skip to content

PalletId should be hardcoded into Pallet, not exposed as Config #324

@shawntabrizi

Description

@shawntabrizi

PalletId is intended to be a unique global identifier for a Pallet, and should not be configurable in the Pallet Config.

Wherever PalletId is exposed in the runtime config, move it into the Pallet as a const and make sure that const is exposed via the metadata.

Make sure there are no breaking changes for Polkadot / Kusama

cc @gavofyork

Metadata

Metadata

Assignees

No one assigned

    Labels

    C1-mentorA task where a mentor is available. Please indicate in the issue who the mentor could be.D2-substantialCan be fixed by an experienced coder with a working knowledge of the codebase.I10-unconfirmedIssue might be valid, but it's not yet known.

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions