Skip to content

Commit

Permalink
chore(deps): bump frame-metadata from 16 to 17 (#1836)
Browse files Browse the repository at this point in the history
* chore(deps): bump frame-metadata from 16 to 17

* fix substrate test build

* revert test fix

---------

Co-authored-by: James Wilson <james@jsdw.me>
  • Loading branch information
niklasad1 and jsdw authored Oct 23, 2024
1 parent 50fc73a commit 2f7ea3f
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 12 deletions.
34 changes: 23 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ derive-where = "1.2.7"
either = { version = "1.13.0", default-features = false }
finito = { version = "0.1.0", default-features = false }
frame-decode = { version = "0.4.0", default-features = false }
frame-metadata = { version = "16.0.0", default-features = false }
frame-metadata = { version = "17.0.0", default-features = false }
futures = { version = "0.3.31", default-features = false, features = ["std"] }
getrandom = { version = "0.2", default-features = false }
hashbrown = "0.14.5"
Expand Down
3 changes: 3 additions & 0 deletions metadata/src/from_into/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ impl TryFrom<frame_metadata::RuntimeMetadataPrefixed> for crate::Metadata {
}
frame_metadata::RuntimeMetadata::V14(m) => m.try_into(),
frame_metadata::RuntimeMetadata::V15(m) => m.try_into(),
frame_metadata::RuntimeMetadata::V16(_opaque) => {
Err(TryFromError::UnsupportedMetadataVersion(16))
}
}
}
}

0 comments on commit 2f7ea3f

Please sign in to comment.