Prep for 0.8.0 release with Support V16 metadata and frame-decode@23#42
Merged
Prep for 0.8.0 release with Support V16 metadata and frame-decode@23#42
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR prepares the 0.8.0 release by adding support for frame-metadata v23 and stabilizing V16 metadata support.
- Updates storage entries handling to invoke m.storage_entries_list() for RuntimeMetadata::V16.
- Renames several macros and applies them for metadata versions v14 through v16 in storage and extrinsic type info modules.
- Updates Cargo.toml and CHANGELOG.md to reflect the new version and dependency changes.
Reviewed Changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/utils/list_storage_entries.rs | Updated V16 branch to use m.storage_entries_list() and renamed the macro for consistency. |
| src/utils.rs | Added conditional re-exports and InfoAndResolver implementation for RuntimeMetadataV16. |
| src/lib.rs | Extended test trait validations to include RuntimeMetadataV16. |
| src/decoding/storage_type_info.rs | Renamed macro to support V16 and added its implementation. |
| src/decoding/extrinsic_type_info.rs | Added ExtrinsicTypeInfo implementation for RuntimeMetadataV16 using the updated macro. |
| Cargo.toml | Bumped version to 0.8.0 and updated frame-metadata dependency to 23.0.0. |
| CHANGELOG.md | Documented the release changes supporting frame-metadata v23 and V16 metadata support. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Support
frame-metadatav23. That stabilized V16 metadata, so we implement the relevant traits for that here to support it.