Add Runtime Api version to metadata (#7607)
The runtime API implemented version is not explicitly shown in metadata,
so here we add it to improve developer experience.
We need to bump `frame-metadata` and `merkleized-metadata` to allow this
new feature.
This closes #7352 .
_Refactor_: also changing all the occurrences of `ViewFunctionMethod` to
just `ViewFunction` for metadata types.
---------
Co-authored-by:
cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
parent
dd005c48
Showing
- Cargo.lock 11 additions, 11 deletionsCargo.lock
- Cargo.toml 2 additions, 2 deletionsCargo.toml
- prdoc/pr_7607.prdoc 20 additions, 0 deletionsprdoc/pr_7607.prdoc
- substrate/frame/examples/view-functions/src/tests.rs 4 additions, 5 deletionssubstrate/frame/examples/view-functions/src/tests.rs
- substrate/frame/support/procedural/src/pallet/expand/view_functions.rs 3 additions, 3 deletions...me/support/procedural/src/pallet/expand/view_functions.rs
- substrate/frame/support/test/tests/runtime_metadata.rs 2 additions, 0 deletionssubstrate/frame/support/test/tests/runtime_metadata.rs
- substrate/primitives/api/proc-macro/src/runtime_metadata.rs 1 addition, 0 deletionssubstrate/primitives/api/proc-macro/src/runtime_metadata.rs
- substrate/primitives/metadata-ir/src/types.rs 14 additions, 11 deletionssubstrate/primitives/metadata-ir/src/types.rs
- substrate/primitives/metadata-ir/src/unstable.rs 7 additions, 6 deletionssubstrate/primitives/metadata-ir/src/unstable.rs
Please register or sign in to comment