Remove remains from metadata v0 (#2610)

* Remove rests for metadata v0

* bump impl_version
This commit is contained in:
Amaury Martiny
2019-05-17 10:49:08 +02:00
committed by thiolliere
parent 7e525dc603
commit e24b18f844
3 changed files with 2 additions and 21 deletions
-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