Skip to content

Commit

Permalink
Remove old host config defaults
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
  • Loading branch information
ggwpez committed Jul 4, 2024
1 parent 7dd8f47 commit 4285a03
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions chain-spec-generator/src/relay_chain_specs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ use grandpa::AuthorityId as GrandpaId;
use kusama_runtime_constants::currency::UNITS as KSM;
use pallet_staking::Forcing;
use polkadot_primitives::{
vstaging::{ApprovalVotingParams, NodeFeatures},
AccountId, AccountPublic, AssignmentId, AsyncBackingParams, ValidatorId,
ON_DEMAND_DEFAULT_QUEUE_MAX_SIZE,
AccountId, AccountPublic, ApprovalVotingParams, AssignmentId, AsyncBackingParams, NodeFeatures,
ValidatorId,
};
use polkadot_runtime_constants::currency::UNITS as DOT;
use runtime_parachains::configuration::HostConfiguration;
Expand Down Expand Up @@ -84,22 +83,13 @@ fn default_parachains_host_configuration() -> HostConfiguration<polkadot_primiti
..Default::default()
},
dispute_post_conclusion_acceptance_period: 100u32,
scheduling_lookahead: 1,
max_validators_per_core: Default::default(),
coretime_cores: Default::default(),
on_demand_retries: Default::default(),
on_demand_queue_max_size: ON_DEMAND_DEFAULT_QUEUE_MAX_SIZE,
on_demand_target_queue_utilization: Perbill::from_percent(25),
on_demand_fee_variability: Perbill::from_percent(3),
on_demand_base_fee: 10_000_000u128,
minimum_backing_votes: 1,
node_features: NodeFeatures::EMPTY,
async_backing_params: AsyncBackingParams {
max_candidate_depth: 2,
allowed_ancestry_len: 2,
},
executor_params: Default::default(),
on_demand_ttl: 5,
max_validators: None,
pvf_voting_ttl: 2,
approval_voting_params: ApprovalVotingParams { max_approval_coalesce_count: 1 },
Expand Down

0 comments on commit 4285a03

Please sign in to comment.