Skip to content

Conversation

@paritytech-release-backport-bot

Backport #10541 into stable2512 from lexnv.

See the documentation on how to use this bot.

…ata (#10541)

This PR ensures that the parachains test-utils crate has 2 relay parent
descendants for testing purposes.

Effectively fixes a panic because we missed this mock data for chains
that started with `RP_offset > 0`:

```
 Unable to verify provided relay parent descendants. expected_rp_descendants_num: 1 error: InvalidNumberOfDescendants { expected: 2, received: 0 }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```

Detected in:
-
https://github.com/polkadot-fellows/runtimes/actions/runs/19857064730/job/56897622908?pr=1018

Unblocks:
- polkadot-fellows/runtimes#1018

Inspired by a similar fix I've introduced in:
- #9880

---------

Signed-off-by: Alexandru Vasile <[email protected]>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Bastian Köcher <[email protected]>
(cherry picked from commit 0f28d81)
@github-actions
Copy link
Contributor

This pull request is amending an existing release. Please proceed with extreme caution,
as to not impact downstream teams that rely on the stability of it. Some things to consider:

  • Backports are only for 'patch' or 'minor' changes. No 'major' or other breaking change.
  • Should be a legit fix for some bug, not adding tons of new features.
  • Must either be already audited or not need an audit.
Emergency Bypass

If you really need to bypass this check: add validate: false to each crate
in the Prdoc where a breaking change is introduced. This will release a new major
version of that crate and all its reverse dependencies and basically break the release.

@EgorPopelyaev EgorPopelyaev enabled auto-merge (squash) December 10, 2025 13:59
@lexnv lexnv changed the title [stable2512] Backport #10541 [stable2512] Backport #10541: test-utils/fix: Parachains test-utils relay parent descendants mock data Dec 10, 2025
@EgorPopelyaev EgorPopelyaev merged commit 2748908 into stable2512 Dec 10, 2025
221 of 228 checks passed
@EgorPopelyaev EgorPopelyaev deleted the backport-10541-to-stable2512 branch December 10, 2025 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A3-backport Pull request is already reviewed well in another branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants