diff --git a/frame-metadata/src/v14.rs b/frame-metadata/src/v14.rs index 002701a..05592e4 100644 --- a/frame-metadata/src/v14.rs +++ b/frame-metadata/src/v14.rs @@ -192,7 +192,7 @@ pub struct StorageEntryMetadata { pub modifier: StorageEntryModifier, pub ty: StorageEntryType, pub default: Vec, - pub documentation: Vec, + pub docs: Vec, } impl IntoPortable for StorageEntryMetadata { @@ -204,7 +204,7 @@ impl IntoPortable for StorageEntryMetadata { modifier: self.modifier, ty: self.ty.into_portable(registry), default: self.default, - documentation: registry.map_into_portable(self.documentation), + docs: registry.map_into_portable(self.docs), } } } @@ -328,8 +328,8 @@ impl IntoPortable for PalletCallMetadata { )] pub struct FunctionMetadata { pub name: T::String, - pub arguments: Vec>, - pub documentation: Vec, + pub args: Vec>, + pub docs: Vec, } impl IntoPortable for FunctionMetadata { @@ -338,8 +338,8 @@ impl IntoPortable for FunctionMetadata { fn into_portable(self, registry: &mut Registry) -> Self::Output { FunctionMetadata { name: self.name.into_portable(registry), - arguments: registry.map_into_portable(self.arguments), - documentation: registry.map_into_portable(self.documentation), + args: registry.map_into_portable(self.args), + docs: registry.map_into_portable(self.docs), } } } @@ -391,7 +391,7 @@ pub struct PalletConstantMetadata { pub name: T::String, pub ty: T::Type, pub value: Vec, - pub documentation: Vec, + pub docs: Vec, } impl IntoPortable for PalletConstantMetadata { @@ -402,7 +402,7 @@ impl IntoPortable for PalletConstantMetadata { name: self.name.into_portable(registry), ty: registry.register_type(&self.ty), value: self.value, - documentation: registry.map_into_portable(self.documentation), + docs: registry.map_into_portable(self.docs), } } }