Skip to content
Snippets Groups Projects
Unverified Commit 66051adb authored by Andrei Sandu's avatar Andrei Sandu Committed by GitHub
Browse files

testnet genesis: enable approval voting v2 assignments and coalescing (#3827)


This is a long due chore ...

---------

Signed-off-by: default avatarAndrei Sandu <andrei-mihail@parity.io>
Co-authored-by: default avatarordian <write@reusable.software>
parent f3944779
No related merge requests found
Pipeline #459557 failed with stages
in 40 minutes and 26 seconds
......@@ -123,7 +123,8 @@ fn default_parachains_host_configuration(
) -> polkadot_runtime_parachains::configuration::HostConfiguration<polkadot_primitives::BlockNumber>
{
use polkadot_primitives::{
vstaging::node_features::FeatureIndex, AsyncBackingParams, MAX_CODE_SIZE, MAX_POV_SIZE,
vstaging::{node_features::FeatureIndex, ApprovalVotingParams},
AsyncBackingParams, MAX_CODE_SIZE, MAX_POV_SIZE,
};
polkadot_runtime_parachains::configuration::HostConfiguration {
......@@ -158,7 +159,8 @@ fn default_parachains_host_configuration(
allowed_ancestry_len: 2,
},
node_features: bitvec::vec::BitVec::from_element(
1u8 << (FeatureIndex::ElasticScalingMVP as usize),
1u8 << (FeatureIndex::ElasticScalingMVP as usize) |
1u8 << (FeatureIndex::EnableAssignmentsV2 as usize),
),
scheduler_params: SchedulerParams {
lookahead: 2,
......@@ -166,6 +168,7 @@ fn default_parachains_host_configuration(
paras_availability_period: 4,
..Default::default()
},
approval_voting_params: ApprovalVotingParams { max_approval_coalesce_count: 5 },
..Default::default()
}
}
......
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