From 8370b99709465729ad47ef9d90e14e9a5fc8c0c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= <bkchr@users.noreply.github.com> Date: Thu, 23 Jan 2020 14:35:04 +0100 Subject: [PATCH] Expose `Error` in metadata for `pallet-utility` (#4721) --- substrate/frame/utility/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/substrate/frame/utility/src/lib.rs b/substrate/frame/utility/src/lib.rs index 9ab2975e295..73442946844 100644 --- a/substrate/frame/utility/src/lib.rs +++ b/substrate/frame/utility/src/lib.rs @@ -318,6 +318,8 @@ impl TypeId for IndexedUtilityModuleId { decl_module! { pub struct Module<T: Trait> for enum Call where origin: T::Origin { + type Error = Error<T>; + /// Deposit one of this module's events by using the default implementation. fn deposit_event() = default; -- GitLab