Metadata Hash seems to be broken in stable2409/published crates.io versions #6776
Closed
2 tasks done
Labels
I2-bug
The node fails to follow expected behavior.
I10-unconfirmed
Issue might be valid, but it's not yet known.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
When the metadata-hash feature is enabled, there is a conflict between two versions of frame-metadata and the compiler can't figure out which version to use. The resulting error looks like:
I can resolve this issue by pegging the
merkleized-metadata
crate as so:This forces it to go to a version where it hasn't yet updated the frame-metadata to a major version change (16.0 -> 17.0).
Steps to reproduce
Build a runtime with metadata-hash enabled using this combo:
frame-support = { version = "38.0.0", default-features = false }
-> depends on frame-metadata v16.0.0
substrate-wasm-builder = { version = "24.0.1", features=["metadata-hash"] }
-> depends on frame-metadata v16.0.0
-> depends on merkleized-metadata 0.1.0, which in turn, upgrades to 0.1.1, and frame-metadata v17.0.0
The text was updated successfully, but these errors were encountered: