Remove remains from metadata v0 (#2610)

* Remove rests for metadata v0

* bump impl_version
This commit is contained in:
Amaury Martiny authored and thiolliere committed 2019-05-17 10:49:08 +02:00
1 parent 7e525dc603
commit e24b18f844
3 files changed
+2 -21

No files matched your search

-16
View File
@@ -292,22 +292,6 @@ pub enum StorageFunctionModifier {
Default,
}
/// All metadata about the outer dispatch.
#[derive(Clone, PartialEq, Eq, Encode)]
#[cfg_attr(feature = "std", derive(Decode, Debug, Serialize))]
pub struct OuterDispatchMetadata {
pub name: DecodeDifferentStr,
pub calls: DecodeDifferentArray<OuterDispatchCall>,
}
/// A Call from the outer dispatch.
#[derive(Clone, PartialEq, Eq, Encode)]
#[cfg_attr(feature = "std", derive(Decode, Debug, Serialize))]
pub struct OuterDispatchCall {
pub name: DecodeDifferentStr,
pub index: u16,
}
#[derive(Eq, Encode, PartialEq)]
#[cfg_attr(feature = "std", derive(Decode, Debug, Serialize))]
/// Metadata prefixed by a u32 for reserved usage