Skip to content

Commit

Permalink
v15: Exclude trait versioning from metadata
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
  • Loading branch information
lexnv committed Jan 31, 2023
1 parent c948b95 commit b62988f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions frame-metadata/src/v15.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ impl RuntimeMetadataV15 {
pub struct TraitMetadata<T: Form = MetaForm> {
/// Trait name.
pub name: T::String,
/// Trait version.
pub version: Option<u64>,
/// Trait methods.
pub methods: Vec<MethodMetadata<T>>,
/// Trait documentation.
Expand All @@ -105,7 +103,6 @@ impl IntoPortable for TraitMetadata {
fn into_portable(self, registry: &mut Registry) -> Self::Output {
TraitMetadata {
name: self.name.into_portable(registry),
version: self.version,
methods: registry.map_into_portable(self.methods),
docs: registry.map_into_portable(self.docs),
}
Expand Down

0 comments on commit b62988f

Please sign in to comment.