Skip to content

Commit db5affe

Browse files
authored
Don't require module name in inherents (#6576)
* Start * Cleanup `construct_runtime!` * Add tests * Fix after merge * Update the docs
1 parent fa65eff commit db5affe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ pub trait Trait: frame_system::Trait {
6060

6161
/// The overarching call type.
6262
type Call: Parameter + Dispatchable<Origin=Self::Origin, PostInfo=PostDispatchInfo>
63-
+ GetDispatchInfo + From<frame_system::Call<Self>> + IsSubType<Module<Self>, Self>
63+
+ GetDispatchInfo + From<frame_system::Call<Self>> + IsSubType<Call<Self>>
6464
+ IsType<<Self as frame_system::Trait>::Call>;
6565

6666
/// The currency mechanism.

0 commit comments

Comments
 (0)