Don't require module name in inherents (#6576)

* Start

* Cleanup `construct_runtime!`

* Add tests

* Fix after merge

* Update the docs
This commit is contained in:
Bastian Köcher authored and GitHub committed 2020-07-06 10:29:17 +00:00
1 parent 2019f70768
commit ad2e832289
15 files changed
+279 -161

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@ impl From<ReportEquivocationValidityError> for TransactionValidityError {
impl<T: super::Trait + Send + Sync> SignedExtension for ValidateEquivocationReport<T>
where
<T as frame_system::Trait>::Call: IsSubType<super::Module<T>, T>,
<T as frame_system::Trait>::Call: IsSubType<super::Call<T>>,
{
const IDENTIFIER: &'static str = "ValidateEquivocationReport";
type AccountId = T::AccountId;