mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 21:41:12 +00:00
Zero sized types (#121)
* Fix zero sized types. * Cleanup. * Expose genesis hash. * Fix clippy warnings. * Readd default type sizes for now. * Cleanup ret type.
This commit is contained in:
+2
-7
@@ -17,10 +17,7 @@
|
||||
//! Implements support for built-in runtime modules.
|
||||
|
||||
use crate::{
|
||||
events::{
|
||||
EventsDecoder,
|
||||
EventsError,
|
||||
},
|
||||
events::EventsDecoder,
|
||||
metadata::{
|
||||
Metadata,
|
||||
MetadataError,
|
||||
@@ -62,9 +59,7 @@ pub trait Call<T>: Encode {
|
||||
/// Function name.
|
||||
const FUNCTION: &'static str;
|
||||
/// Load event decoder.
|
||||
fn events_decoder(_decoder: &mut EventsDecoder<T>) -> Result<(), EventsError> {
|
||||
Ok(())
|
||||
}
|
||||
fn events_decoder(_decoder: &mut EventsDecoder<T>) {}
|
||||
}
|
||||
|
||||
/// Event trait.
|
||||
|
||||
Reference in New Issue
Block a user