Skip to content

polkadot-omni-node: para_id key from generated chain specs is deprecated #689

@iulianbarbu

Description

@iulianbarbu

This: paritytech/polkadot-sdk#8651 introduces a new way of specifying the parachain id to nodes. Runtimes will need to implement a new runtime API called cumulus_primitives_core::GetParachainInfo, and we must give a basic guide for how to do it. It should reference a few things:

  • a guide for runtime upgrades (I hope there is one - if there isn't, it might be the case to do it)
  • a small section where we reference the runtime upgrade docs and parachain-template-runtime, or more specifically where we implemented the new trait (after merging the linked PR I'll follow here with a commit SHA based link).
  • linking back the new docs & updated public docs in polkadot-sdk codebase where para_id key shows as deprecated, as an alternative to it.

We already have some public docs for how to update the parachain id in the generated chain specs here: https://docs.polkadot.com/tutorials/polkadot-sdk/parachains/zero-to-hero/deploy-to-testnet/#generate-the-chain-specification. This will not be relevant anymore.

cc @nkpar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions