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.

Make benchmark macro accept where clause #6432

@xlc

Description

@xlc

decl_module accepts a where clause, but it is not possible to write benchmark for such module without the ability to add where clause to benchmark! macro.

I have no idea what should the syntax be, but I need to attach where <T as system::Trait>::Origin: OriginTrait<PalletsOrigin = T::PalletsOrigin> somewhere.

cc @shawntabrizi

Blocks #6387

Metadata

Metadata

Assignees

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