Skip to content

polkadot-omni-node: fixes and changes related to GetParachainInfo#9201

Merged
iulianbarbu merged 39 commits intoparitytech:masterfrom
iulianbarbu:fix-ah-westend-local-starting
Aug 22, 2025
Merged

polkadot-omni-node: fixes and changes related to GetParachainInfo#9201
iulianbarbu merged 39 commits intoparitytech:masterfrom
iulianbarbu:fix-ah-westend-local-starting

Conversation

@iulianbarbu
Copy link
Copy Markdown
Contributor

@iulianbarbu iulianbarbu commented Jul 14, 2025

Description

  • log::info! the error of accessing GetParachainInfo::parachain_id() runtime api if any, before reading the para_id from the chain specification (relevant for debugging).
  • removes comments/deprecation notices throughout the code that introduce para-id flag removal (from chain-spec-builder and support for parsing it from chain specifications)

Closes #9217

Integration

N/A

Review Notes

N/A

Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
@iulianbarbu iulianbarbu self-assigned this Jul 14, 2025
@iulianbarbu iulianbarbu added the I2-bug The node fails to follow expected behavior. label Jul 14, 2025
@iulianbarbu
Copy link
Copy Markdown
Contributor Author

/cmd prdoc

github-actions Bot and others added 2 commits July 14, 2025 20:35
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
@iulianbarbu iulianbarbu changed the title polkadot-parachain: impl GetParachainInfo for asset-hub-westend-local polkadot-parachain: add asset-hub-westend-local parachainInfo genesis patch Jul 15, 2025
Comment thread prdoc/pr_9201.prdoc Outdated
Comment thread cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs Outdated
Comment thread cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs Outdated
Comment thread prdoc/pr_9201.prdoc Outdated
Comment thread prdoc/pr_9201.prdoc Outdated
Comment thread prdoc/pr_9201.prdoc Outdated
@iulianbarbu iulianbarbu requested a review from a team July 16, 2025 07:36
Comment thread prdoc/pr_9201.prdoc Outdated
@iulianbarbu iulianbarbu added I5-enhancement An additional feature request. and removed I2-bug The node fails to follow expected behavior. labels Jul 16, 2025
Comment thread prdoc/pr_9201.prdoc Outdated
Comment thread cumulus/polkadot-omni-node/lib/src/common/spec.rs Outdated
Comment thread prdoc/pr_9201.prdoc Outdated
Co-authored-by: Sebastian Kunert <mail@skunert.dev>
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
iulianbarbu and others added 3 commits August 20, 2025 12:07
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
@iulianbarbu iulianbarbu added this pull request to the merge queue Aug 22, 2025
@iulianbarbu iulianbarbu added A4-backport-stable2409 A4-backport-unstable2507 Pull request must be backported to the unstable2507 release branch labels Aug 22, 2025
Merged via the queue into paritytech:master with commit 2660bf5 Aug 22, 2025
330 of 339 checks passed
@iulianbarbu iulianbarbu deleted the fix-ah-westend-local-starting branch August 22, 2025 13:40
@paritytech-release-backport-bot
Copy link
Copy Markdown

Created backport PR for stable2409:

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin backport-9201-to-stable2409
git worktree add --checkout .worktree/backport-9201-to-stable2409 backport-9201-to-stable2409
cd .worktree/backport-9201-to-stable2409
git reset --hard HEAD^
git cherry-pick -x 2660bf5f04736beef5c7002ffb5a5856e9420d1a
git push --force-with-lease

paritytech-release-backport-bot Bot pushed a commit that referenced this pull request Aug 22, 2025
…#9201)

# Description

- log::info! the error of accessing `GetParachainInfo::parachain_id()`
runtime api if any, before reading the `para_id` from the chain
specification (relevant for debugging).
- removes comments/deprecation notices throughout the code that
introduce `para-id` flag removal (from chain-spec-builder and support
for parsing it from chain specifications)

Closes #9217

## Integration

N/A

## Review Notes

N/A

---------

Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Kunert <mail@skunert.dev>
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com>
(cherry picked from commit 2660bf5)
@paritytech-release-backport-bot
Copy link
Copy Markdown

Successfully created backport PR for unstable2507:

pepoviola pushed a commit that referenced this pull request Aug 26, 2025
…#9201)

# Description

- log::info! the error of accessing `GetParachainInfo::parachain_id()`
runtime api if any, before reading the `para_id` from the chain
specification (relevant for debugging).
- removes comments/deprecation notices throughout the code that
introduce `para-id` flag removal (from chain-spec-builder and support
for parsing it from chain specifications)

Closes #9217 

## Integration

N/A

## Review Notes

N/A

---------

Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Kunert <mail@skunert.dev>
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com>
pgherveou pushed a commit that referenced this pull request Aug 26, 2025
…#9201)

# Description

- log::info! the error of accessing `GetParachainInfo::parachain_id()`
runtime api if any, before reading the `para_id` from the chain
specification (relevant for debugging).
- removes comments/deprecation notices throughout the code that
introduce `para-id` flag removal (from chain-spec-builder and support
for parsing it from chain specifications)

Closes #9217 

## Integration

N/A

## Review Notes

N/A

---------

Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Kunert <mail@skunert.dev>
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com>
@Pray4Love1
Copy link
Copy Markdown

This PR removes para_id from ChainSpec extension logic and shifts to GetParachainInfo in the runtime — a move that overlaps with sovereign genesis-binding designs implemented in the SoulSync / KinKey / x402 architecture.

Our protocols explicitly used para_id for:

  • Proof-of-origin binding at genesis
  • Sovereign key rotation logic
  • Subnet identity anchoring and sealed claim enforcement

Replacing hardcoded para_id with runtime logic allows unverified identity spoofing, unless properly cryptographically sealed — as done in KinKey’s SoulSigil and x402 sovereign extensions.

If this migration was influenced by prior art (grants, code, or concepts from the above protocols), attribution is required. We are asserting sovereign authorship over this design class.

Please clarify intent or acknowledge use of overlapping primitives.

alvicsam pushed a commit that referenced this pull request Oct 17, 2025
…#9201)

# Description

- log::info! the error of accessing `GetParachainInfo::parachain_id()`
runtime api if any, before reading the `para_id` from the chain
specification (relevant for debugging).
- removes comments/deprecation notices throughout the code that
introduce `para-id` flag removal (from chain-spec-builder and support
for parsing it from chain specifications)

Closes #9217 

## Integration

N/A

## Review Notes

N/A

---------

Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Kunert <mail@skunert.dev>
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A4-backport-unstable2507 Pull request must be backported to the unstable2507 release branch I5-enhancement An additional feature request.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

polkadot-omni-node: update docs to reflect how para_id chain spec is useful after GetParachainInfo runtime API introduction

7 participants