-
Notifications
You must be signed in to change notification settings - Fork 1.1k
test-utils/fix: Parachains test-utils relay parent descendants mock data #10541
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
Conversation
Signed-off-by: Alexandru Vasile <[email protected]>
…lize Signed-off-by: Alexandru Vasile <[email protected]>
|
/cmd prdoc --audience node_dev --bump patch |
…e_dev --bump patch'
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
This reverts commit cb2444a.
|
/cmd prdoc --audience node_dev --bump patch --force |
…e_dev --bump patch --force'
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
…v/fix-descendants
|
All GitHub workflows were cancelled due to failure one of the required jobs. |
Signed-off-by: Alexandru Vasile <[email protected]>
|
/cmd prdoc --audience node_dev --bump patch --force |
…e_dev --bump patch --force'
Signed-off-by: Alexandru Vasile <[email protected]>
|
Created backport PR for
Please cherry-pick the changes locally and resolve any conflicts. git fetch origin backport-10541-to-stable2506
git worktree add --checkout .worktree/backport-10541-to-stable2506 backport-10541-to-stable2506
cd .worktree/backport-10541-to-stable2506
git reset --hard HEAD^
git cherry-pick -x 0f28d8104be04cb13ac39ccfd17240f703953c33
git push --force-with-lease |
|
Created backport PR for
Please cherry-pick the changes locally and resolve any conflicts. git fetch origin backport-10541-to-stable2509
git worktree add --checkout .worktree/backport-10541-to-stable2509 backport-10541-to-stable2509
cd .worktree/backport-10541-to-stable2509
git reset --hard HEAD^
git cherry-pick -x 0f28d8104be04cb13ac39ccfd17240f703953c33
git push --force-with-lease |
…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)
|
Successfully created backport PR for |
|
Created backport PR for
Please cherry-pick the changes locally and resolve any conflicts. git fetch origin backport-10541-to-unstable2507
git worktree add --checkout .worktree/backport-10541-to-unstable2507 backport-10541-to-unstable2507
cd .worktree/backport-10541-to-unstable2507
git reset --hard HEAD^
git cherry-pick -x 0f28d8104be04cb13ac39ccfd17240f703953c33
git push --force-with-lease |
Backport #10541 into `stable2512` from lexnv. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Alexandru Vasile <[email protected]> Co-authored-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]> Co-authored-by: Egor_P <[email protected]>
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:Detected in:
Unblocks:
Inspired by a similar fix I've introduced in: