diff --git a/frame-metadata/src/v16.rs b/frame-metadata/src/v16.rs index 375b5d4..a63d430 100644 --- a/frame-metadata/src/v16.rs +++ b/frame-metadata/src/v16.rs @@ -98,8 +98,10 @@ pub struct RuntimeApiMetadata { pub methods: Vec>, /// Trait documentation. pub docs: Vec, - /// Deprecation info + /// Deprecation info. pub deprecation_info: DeprecationStatus, + /// Runtime API version. + pub version: u32, } impl IntoPortable for RuntimeApiMetadata { @@ -111,6 +113,7 @@ impl IntoPortable for RuntimeApiMetadata { methods: registry.map_into_portable(self.methods), docs: registry.map_into_portable(self.docs), deprecation_info: self.deprecation_info.into_portable(registry), + version: self.version, } } }