diff --git a/frame-metadata/src/v15.rs b/frame-metadata/src/v15.rs index 6aaf36a..8ed6628 100644 --- a/frame-metadata/src/v15.rs +++ b/frame-metadata/src/v15.rs @@ -48,9 +48,9 @@ pub struct RuntimeMetadataV15 { /// Type registry containing all types used in the metadata. pub types: PortableRegistry, /// Metadata of all the pallets. - pub pallets: Vec>, + pub pallets: Vec>, /// Metadata of the extrinsic. - pub extrinsic: ExtrinsicMetadata, + pub extrinsic: crate::v14::ExtrinsicMetadata, /// The type of the `Runtime`. pub ty: ::Type, /// Metadata of the Runtime API. @@ -60,8 +60,8 @@ pub struct RuntimeMetadataV15 { impl RuntimeMetadataV15 { /// Create a new instance of [`RuntimeMetadataV15`]. pub fn new( - pallets: Vec, - extrinsic: ExtrinsicMetadata, + pallets: Vec, + extrinsic: crate::v14::ExtrinsicMetadata, runtime_type: MetaType, runtime: Vec, ) -> Self {