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 decl_module where clause to accept trailing comma #6419

@xlc

Description

@xlc

This should work but it doesn't.

decl_module! {
	pub struct Module<T: Trait> for enum Call
	where
		origin: <T as system::Trait>::Origin,
		<T as system::Trait>::Origin: OriginTrait<PalletsOrigin = OriginCaller>,
	{
		fn deposit_event() = default;
	}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions