Skip to content

Commit

Permalink
change(kreivo-runtime): set right parameters to match 1 block produce…
Browse files Browse the repository at this point in the history
…d per slot
  • Loading branch information
pandres95 committed Jun 29, 2024
1 parent dcdb7be commit 4aa1d70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/kreivo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,13 +404,13 @@ impl parachain_info::Config for Runtime {}
impl cumulus_pallet_aura_ext::Config for Runtime {}

/// Relay chain slot duration, in milliseconds.
const RELAY_CHAIN_SLOT_DURATION_MILLIS: u32 = 6000;
const RELAY_CHAIN_SLOT_DURATION_MILLIS: u32 = 12_000;
/// How many parachain blocks are processed by the relay chain per parent.
/// Limits the number of blocks authored per slot.
const BLOCK_PROCESSING_VELOCITY: u32 = 1;
/// Maximum number of blocks simultaneously accepted by the Runtime, not yet
/// included into the relay chain.
const UNINCLUDED_SEGMENT_CAPACITY: u32 = 3;
const UNINCLUDED_SEGMENT_CAPACITY: u32 = 1;

/// Aura consensus hook
type ConsensusHook = cumulus_pallet_aura_ext::FixedVelocityConsensusHook<
Expand Down

0 comments on commit 4aa1d70

Please sign in to comment.