Skip to content
Snippets Groups Projects
Unverified Commit cfc5b6f5 authored by Alin Dima's avatar Alin Dima Committed by GitHub
Browse files

bump lookahead to 3 for testnet genesis (#7252)

This is the right value after
https://github.com/paritytech/polkadot-sdk/pull/4880, which corresponds
to an allowedAncestryLen of 2 (which is the default)

WIll fix https://github.com/paritytech/polkadot-sdk/issues/7105
parent 085da479
No related merge requests found
Pipeline #512926 waiting for manual action with stages
in 26 minutes and 46 seconds
......@@ -134,7 +134,7 @@ fn default_parachains_host_configuration(
1u8 << (FeatureIndex::CandidateReceiptV2 as usize),
),
scheduler_params: SchedulerParams {
lookahead: 2,
lookahead: 3,
group_rotation_frequency: 20,
paras_availability_period: 4,
..Default::default()
......
......@@ -137,7 +137,7 @@ fn default_parachains_host_configuration(
1u8 << (FeatureIndex::CandidateReceiptV2 as usize),
),
scheduler_params: SchedulerParams {
lookahead: 2,
lookahead: 3,
group_rotation_frequency: 20,
paras_availability_period: 4,
..Default::default()
......
......@@ -120,8 +120,8 @@ async fn doesnt_break_parachains_test() -> Result<(), anyhow::Error> {
assert_eq!(
cq,
[
(CoreIndex(0), [para_id, para_id].into_iter().collect()),
(CoreIndex(1), [para_id, para_id].into_iter().collect()),
(CoreIndex(0), std::iter::repeat(para_id).take(3).collect()),
(CoreIndex(1), std::iter::repeat(para_id).take(3).collect()),
]
.into_iter()
.collect()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment