Skip to content
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

Metadata V16: Have a vec of supported extrinsic versions #5980

Open
Tracked by #4520
jsdw opened this issue Oct 8, 2024 · 3 comments
Open
Tracked by #4520

Metadata V16: Have a vec of supported extrinsic versions #5980

jsdw opened this issue Oct 8, 2024 · 3 comments

Comments

@jsdw
Copy link
Contributor

jsdw commented Oct 8, 2024

<=V15 metadatas contain a single extrinsic version field (set to 4 currently).

With V5 extrinsics coming, and runtimes that can support either V4 or V5 extrinsics, we should extens this to be a vec of the extrinsic versions that the runtime supports. This allows dApps/client libsto inspect that vec to understand whether they are able to construct a valid extrinsic for it.

@jsdw
Copy link
Contributor Author

jsdw commented Oct 8, 2024

(I think this might already be done in the code, but wanted to track and make sure either way with the issue, \cc @lexnv)

@bkchr
Copy link
Member

bkchr commented Oct 8, 2024

@lexnv
Copy link
Contributor

lexnv commented Oct 9, 2024

Added this to frame-metadata pr. It should be exposed in the enablement of V16-unstable PR here.

I think its good to have this issue around to not forget about it, next steps here: release frame-metdata crate, merge associated types (#5274) and then the enablement PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants