Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions frame-metadata/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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),
}

Expand Down