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

Add metadataVer cli arg for polkadot-types-internal-metadata, and ensure backwards compatibility with v14 #6063

Merged
merged 2 commits into from
Jan 12, 2025

Conversation

TarikGul
Copy link
Member

#6062 changed the internal logic to use v15, but this meant that the endpoint cli arg would break since it got its metadata from state_getMetadata. So for this case we need to ensure that we can still have the legacy behavior work for --endpoint but also give it the option to work with future metadata versions. For that reason I added --metadataVer which works with --endpoint. This ensures that one can assign the metadata version as a number to the endpoint if needed. If --metadataVer is not included it will default to the original behavior

@TarikGul TarikGul added the -auto label Jan 12, 2025
@polkadot-js-bot polkadot-js-bot merged commit 5e5e72b into master Jan 12, 2025
6 checks passed
@polkadot-js-bot polkadot-js-bot deleted the tg-add-metadata-option branch January 12, 2025 00:18
@polkadot-js-bot
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Jan 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants