Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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<Runtime>;
type RelayParentOffset = ConstU32<0>;
type RelayParentOffset = ConstU32<RELAY_PARENT_OFFSET>;
}

impl pallet_message_queue::Config for Runtime {
Expand Down
7 changes: 7 additions & 0 deletions prdoc/pr_8745.prdoc
Original file line number Diff line number Diff line change
@@ -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
Loading