Skip to content

Commit b62988f

Browse files
committed
v15: Exclude trait versioning from metadata
Signed-off-by: Alexandru Vasile <[email protected]>
1 parent c948b95 commit b62988f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

frame-metadata/src/v15.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ impl RuntimeMetadataV15 {
9191
pub struct TraitMetadata<T: Form = MetaForm> {
9292
/// Trait name.
9393
pub name: T::String,
94-
/// Trait version.
95-
pub version: Option<u64>,
9694
/// Trait methods.
9795
pub methods: Vec<MethodMetadata<T>>,
9896
/// Trait documentation.
@@ -105,7 +103,6 @@ impl IntoPortable for TraitMetadata {
105103
fn into_portable(self, registry: &mut Registry) -> Self::Output {
106104
TraitMetadata {
107105
name: self.name.into_portable(registry),
108-
version: self.version,
109106
methods: registry.map_into_portable(self.methods),
110107
docs: registry.map_into_portable(self.docs),
111108
}

0 commit comments

Comments
 (0)