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.

Allow pallet to declare its default parts and make construct_runtime automatically use them by default #8084

@gui1117

Description

@gui1117

Instead of having to declare:

construct_runtime!(
...
Example: example::{Module, Storage, Call},
);

we could be able to do:

construct_runtime!(
...
Example: example all_parts_except::{Call},
// which would result in using `Module, Storage` in this example
);

(syntax must be improved)

a stale PR exist #6494 but doesn't implement the except_part logic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    J0-enhancementAn additional feature request.Z3-substantialCan be fixed by an experienced coder with a working knowledge of the codebase.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions