From 0b39bbbc30b09cf0703f50293dcdb97df3bc5552 Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Fri, 22 Nov 2019 14:55:54 +0000 Subject: [PATCH] Implement DispatchInfo type for SignedExtension (#39) --- src/extrinsic.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/extrinsic.rs b/src/extrinsic.rs index 8709032fb3..262e295367 100644 --- a/src/extrinsic.rs +++ b/src/extrinsic.rs @@ -63,6 +63,7 @@ where type AccountId = u64; type Call = (); type AdditionalSigned = u32; + type DispatchInfo = (); type Pre = (); fn additional_signed( &self, @@ -92,6 +93,7 @@ where type AccountId = u64; type Call = (); type AdditionalSigned = T::Hash; + type DispatchInfo = (); type Pre = (); fn additional_signed( &self, @@ -123,6 +125,7 @@ where type AccountId = u64; type Call = (); type AdditionalSigned = T::Hash; + type DispatchInfo = (); type Pre = (); fn additional_signed( &self, @@ -142,6 +145,7 @@ where type AccountId = u64; type Call = (); type AdditionalSigned = (); + type DispatchInfo = (); type Pre = (); fn additional_signed( &self, @@ -161,6 +165,7 @@ where type AccountId = u64; type Call = (); type AdditionalSigned = (); + type DispatchInfo = (); type Pre = (); fn additional_signed( &self, @@ -181,6 +186,7 @@ where type AccountId = u64; type Call = (); type AdditionalSigned = (); + type DispatchInfo = (); type Pre = (); fn additional_signed( &self, @@ -200,6 +206,7 @@ where type AccountId = u64; type Call = (); type AdditionalSigned = (); + type DispatchInfo = (); type Pre = (); fn additional_signed( &self, @@ -260,6 +267,7 @@ impl SignedExtension for DefaultExtra { type Call = (); type AdditionalSigned = <>::Extra as SignedExtension>::AdditionalSigned; + type DispatchInfo = (); type Pre = (); fn additional_signed(