Fix bridges integration test failure for the Westend network#11643
Merged
rosarp merged 1 commit intoparitytech:masterfrom Apr 6, 2026
Merged
Fix bridges integration test failure for the Westend network#11643rosarp merged 1 commit intoparitytech:masterfrom
rosarp merged 1 commit intoparitytech:masterfrom
Conversation
pepoviola
approved these changes
Apr 5, 2026
Member
Author
|
Found while testing paritytech/parity-bridges-common#3170 |
x3c41a
approved these changes
Apr 6, 2026
so fixing zombient tests
1ba2fdf to
2289a41
Compare
Merged
via the queue into
paritytech:master
with commit Apr 6, 2026
8e64bb2
213 of 214 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fix bridges integration test failure for the Westend network by using the slot-based collator for asset-hub-westend nodes.
The
asset-hub-westendruntime configuresRelayParentOffset = 1(atcumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs:138) in this commit , which requires relay parent descendant headers in the parachain inherent data. However, the zombienet test was launching the collators with the default look ahead authoring policy, which passes an emptyrelay_parent_descendantsvec. This caused a runtime panic on every block build attempt:The parachain remained stuck at block #0, failing the test assertion:
asset-hub-westend-collator1: reports block height is at least 10 within 180 seconds
Only the slot-based collator (
collators/slot_based/block_builder_task.rs) callscreate_inherent_data_with_rp_offset()with the required descendant data. The look ahead and basic collators callcreate_inherent_data()which passesNone.Integration
This change only affects a zombienet test TOML configuration file. No crate changes.
Review Notes
The fix adds "--authoring", "slot-based" to both asset-hub-westend-collator1 and asset-hub-westend-collator2 in
bridges/testing/environments/rococo-westend/bridge_hub_westend_local_network.toml.
This is only needed for the Westend side because:
The Rococo TOML (bridge_hub_rococo_local_network.toml) is unchanged since its asset-hub runtime doesn't require relay parent descendants.