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

polkadot-omni-node: Metadata checks #5565

Open
kianenigma opened this issue Sep 3, 2024 · 0 comments · May be fixed by #6450
Open

polkadot-omni-node: Metadata checks #5565

kianenigma opened this issue Sep 3, 2024 · 0 comments · May be fixed by #6450
Assignees

Comments

@kianenigma
Copy link
Contributor

As we move towards making polkadot-parachain be a true omni-node, independent of the runtime, we should make some checks.

For example, for now we only support a parachain, and therefore parachain_system pallet should be present.

Some startup checks should exist that query the runtime for the metadata, parse it using frame-metadata and/or subxt, and assert the existence of some types.

Further, now we allow the block number type to be configured on the omni-node. One can check frame_system's metadata to ensure the block number in there is the same as the one in the node side.

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

Successfully merging a pull request may close this issue.

2 participants