-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add metadata V15 with Runtime API support #48
Merged
Merged
Changes from 15 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
1e96d16
v15: Add everything from v14
lexnv 54c60b0
v15: Add feature to make the V15 the default version
lexnv d7c949a
v15: Add trait metadata
lexnv 0959e5c
v15: Add method metadata
lexnv c5aeb19
v15: Add param metadata
lexnv 78c2963
v15: Constructor for the metadata
lexnv 51d40ef
v14: Keep backwards compatibility with v14 re-exports
lexnv 94831c4
v15: Add trait and method documentation
lexnv cd88281
v15: Make trait version optional
lexnv c5e8d98
v15: Do not reexport v14 types
lexnv c948b95
v15: Expose metadata as unstable
lexnv b62988f
v15: Exclude trait versioning from metadata
lexnv 90b4e6d
v15: Add pallet documentation
lexnv 3e574f3
v15: Rename runtime API structs
lexnv 3f17693
v15: Rename `ParamMetadata` to RuntimeApiMethodParamMetadata
lexnv b20c509
Update frame-metadata/src/v15.rs
lexnv 69e1eb5
v15: Reanme `runtime` -> `apis` and use global META_RESERVED
lexnv 2ae624a
lib: Force CI by better docs
lexnv 7549413
Copyright: Align copyright with substrate
lexnv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't notice, but how do you ask for V15 metadata in Substrate; will you ask for metadata_at_version(u32::MAX) or something? Or do you ask for 15? Just wondeirng whether we do anything to highlight the instability of it in the code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, in substrate we'll have to ask for
u32::MAX
until we can call the v15 stable