mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 13:31:10 +00:00
Update SystemEvent with DispatchInfo (#45)
This commit is contained in:
@@ -123,6 +123,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
@@ -173,7 +173,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),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user