Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
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
Prev Previous commit
Next Next commit
Update primitives/metadata-ir/src/lib.rs
Co-authored-by: James Wilson <[email protected]>
  • Loading branch information
lexnv and jsdw authored Jun 29, 2023
commit 9a3007a3eb8ac79eef81bbc7edca8fd99f6c375e
2 changes: 1 addition & 1 deletion primitives/metadata-ir/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pub fn into_latest(metadata: MetadataIR) -> RuntimeMetadataPrefixed {
latest.into()
}

/// Transform the IR to the latest stable metadata version.
/// Transform the IR to metadata version 14.
pub fn into_v14(metadata: MetadataIR) -> RuntimeMetadataPrefixed {
let latest: frame_metadata::v14::RuntimeMetadataV14 = metadata.into();
latest.into()
Expand Down