From 0bd962ad79b4bc143978d30ea8acf4e46f9ad442 Mon Sep 17 00:00:00 2001 From: Alexandru Vasile Date: Wed, 28 Jun 2023 13:08:16 +0300 Subject: [PATCH 1/2] Stabilize V15 Signed-off-by: Alexandru Vasile --- frame-metadata/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frame-metadata/src/lib.rs b/frame-metadata/src/lib.rs index 8216f4a..1becefe 100644 --- a/frame-metadata/src/lib.rs +++ b/frame-metadata/src/lib.rs @@ -72,14 +72,14 @@ pub mod v13; pub mod v14; /// Metadata v15 -#[cfg(feature = "unstable")] +#[cfg(feature = "current")] pub mod v15; // Reexport all the types from the latest version. // // When a new version becomes available, update this. #[cfg(feature = "current")] -pub use self::v14::*; +pub use self::v15::*; /// Metadata prefix. pub const META_RESERVED: u32 = 0x6174656d; // 'meta' warning for endianness. @@ -162,10 +162,10 @@ pub enum RuntimeMetadata { #[cfg(not(feature = "current"))] V14(OpaqueMetadata), /// Version 15 for runtime metadata. - #[cfg(feature = "unstable")] + #[cfg(feature = "current")] V15(v15::RuntimeMetadataV15), /// Version 15 for runtime metadata, as raw encoded bytes. - #[cfg(not(feature = "unstable"))] + #[cfg(not(feature = "current"))] V15(OpaqueMetadata), } From e19a5873674457677cb978599f02783112231821 Mon Sep 17 00:00:00 2001 From: Alexandru Vasile Date: Wed, 28 Jun 2023 15:29:20 +0300 Subject: [PATCH 2/2] Remove re-exports for latest metadata Signed-off-by: Alexandru Vasile --- frame-metadata/src/lib.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/frame-metadata/src/lib.rs b/frame-metadata/src/lib.rs index 1becefe..a1f63ef 100644 --- a/frame-metadata/src/lib.rs +++ b/frame-metadata/src/lib.rs @@ -75,12 +75,6 @@ pub mod v14; #[cfg(feature = "current")] pub mod v15; -// Reexport all the types from the latest version. -// -// When a new version becomes available, update this. -#[cfg(feature = "current")] -pub use self::v15::*; - /// Metadata prefix. pub const META_RESERVED: u32 = 0x6174656d; // 'meta' warning for endianness.