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

Generate Runtime Apis Dynamically #5986

Merged
merged 2 commits into from
Sep 19, 2024
Merged

Generate Runtime Apis Dynamically #5986

merged 2 commits into from
Sep 19, 2024

Conversation

TarikGul
Copy link
Member

@TarikGul TarikGul commented Sep 19, 2024

This PR decorates the Runtime Apis dynamically if it exists in the metadata. When the apis field is not available it will fallback to the previous functionality.

closes: #5845
closes: #5725

This PR should be followed by a PR that updates the runtime type generation for static types.

@TarikGul TarikGul added the -auto label Sep 19, 2024
@polkadot-js-bot polkadot-js-bot merged commit 1dca21d into master Sep 19, 2024
6 checks passed
@polkadot-js-bot polkadot-js-bot deleted the tg-runtime-apis branch September 19, 2024 12:28
@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 Sep 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

Add decoration of runtimeApis Expose runtime methods from metadata V15
2 participants