mirror of
https://github.com/pezkuwichain/pezframe-metadata.git
synced 2026-04-22 01:57:59 +00:00
Add Runtime Api version to v16 (#92)
* Add Runtime Api version * remove `Compact` * revert v16 version number to `u32::max`
This commit is contained in:
@@ -98,8 +98,10 @@ pub struct RuntimeApiMetadata<T: Form = MetaForm> {
|
||||
pub methods: Vec<RuntimeApiMethodMetadata<T>>,
|
||||
/// Trait documentation.
|
||||
pub docs: Vec<T::String>,
|
||||
/// Deprecation info
|
||||
/// Deprecation info.
|
||||
pub deprecation_info: DeprecationStatus<T>,
|
||||
/// 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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user