diff --git a/cumulus/parachains/runtimes/testing/yet-another-parachain/src/lib.rs b/cumulus/parachains/runtimes/testing/yet-another-parachain/src/lib.rs index 2d185f42fc77a..3e9dbd26baeaa 100644 --- a/cumulus/parachains/runtimes/testing/yet-another-parachain/src/lib.rs +++ b/cumulus/parachains/runtimes/testing/yet-another-parachain/src/lib.rs @@ -132,7 +132,7 @@ const MAXIMUM_BLOCK_WEIGHT: Weight = Weight::from_parts( /// Maximum number of blocks simultaneously accepted by the Runtime, not yet included /// into the relay chain. -const UNINCLUDED_SEGMENT_CAPACITY: u32 = 7; +const UNINCLUDED_SEGMENT_CAPACITY: u32 = 10; /// Build with an offset of 1 behind the relay chain. const RELAY_PARENT_OFFSET: u32 = 1; @@ -308,7 +308,7 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; - type RelayParentOffset = ConstU32<0>; + type RelayParentOffset = ConstU32; } impl pallet_message_queue::Config for Runtime { diff --git a/prdoc/pr_8745.prdoc b/prdoc/pr_8745.prdoc new file mode 100644 index 0000000000000..54e59d1f683a7 --- /dev/null +++ b/prdoc/pr_8745.prdoc @@ -0,0 +1,7 @@ +title: Use correct relay parent offset in YAP parachain +doc: +- audience: Runtime Dev + description: 'The relay parent offset in the yap parachain is now properly set to `RELAY_PARENT_OFFSET`.' +crates: +- name: yet-another-parachain-runtime + bump: patch