From b62988f7cffbad4e10ea1c89b86afc327fb0450f Mon Sep 17 00:00:00 2001 From: Alexandru Vasile Date: Tue, 31 Jan 2023 17:49:09 +0000 Subject: [PATCH] v15: Exclude trait versioning from metadata Signed-off-by: Alexandru Vasile --- frame-metadata/src/v15.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/frame-metadata/src/v15.rs b/frame-metadata/src/v15.rs index 65e2922..6aaf36a 100644 --- a/frame-metadata/src/v15.rs +++ b/frame-metadata/src/v15.rs @@ -91,8 +91,6 @@ impl RuntimeMetadataV15 { pub struct TraitMetadata { /// Trait name. pub name: T::String, - /// Trait version. - pub version: Option, /// Trait methods. pub methods: Vec>, /// Trait documentation. @@ -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), }