mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 17:01:09 +00:00
testnet genesis: enable approval voting v2 assignments and coalescing (#3827)
This is a long due chore ... --------- Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> Co-authored-by: ordian <write@reusable.software>
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user