Update SystemEvent with DispatchInfo (#45)

This commit is contained in:
Andrew Jones
2019-11-26 12:49:29 +00:00
parent 40a8ed3f58
commit 1087dc57b7
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -112,6 +112,7 @@ impl<T: System + Balances + 'static> TryFrom<Metadata> for EventsDecoder<T> {
// Ignore these unregistered types, which are not fixed size primitives
decoder.check_missing_type_sizes(vec![
"DispatchInfo",
"DispatchError",
"Result<(), DispatchError>",
"OpaqueTimeSlot",
+1 -1
View File
@@ -153,7 +153,7 @@ pub fn set_code(code: Vec<u8>) -> Call<SetCode> {
#[derive(Clone, Debug, parity_scale_codec::Decode)]
pub enum SystemEvent {
/// An extrinsic completed successfully.
ExtrinsicSuccess,
ExtrinsicSuccess(runtime_support::weights::DispatchInfo),
/// An extrinsic failed.
ExtrinsicFailed(runtime_primitives::DispatchError),
}