From 02f497da2b73e8b66b7c3deccf4bd2e36c3bb773 Mon Sep 17 00:00:00 2001 From: dharjeezy Date: Wed, 3 Jul 2024 16:21:21 +0100 Subject: [PATCH] Explicit default for testnet HostConfiguration (#368) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #362 - [x] Does not require a CHANGELOG entry --------- Co-authored-by: Bastian Köcher Co-authored-by: fellowship-merge-bot[bot] <151052383+fellowship-merge-bot[bot]@users.noreply.github.com> --- chain-spec-generator/src/relay_chain_specs.rs | 27 +++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/chain-spec-generator/src/relay_chain_specs.rs b/chain-spec-generator/src/relay_chain_specs.rs index e8c2fa3c8a..5ee20389d8 100644 --- a/chain-spec-generator/src/relay_chain_specs.rs +++ b/chain-spec-generator/src/relay_chain_specs.rs @@ -21,7 +21,11 @@ use beefy_primitives::ecdsa_crypto::AuthorityId as BeefyId; use grandpa::AuthorityId as GrandpaId; use kusama_runtime_constants::currency::UNITS as KSM; use pallet_staking::Forcing; -use polkadot_primitives::{AccountId, AccountPublic, AssignmentId, ValidatorId}; +use polkadot_primitives::{ + vstaging::{ApprovalVotingParams, NodeFeatures}, + AccountId, AccountPublic, AssignmentId, AsyncBackingParams, ValidatorId, + ON_DEMAND_DEFAULT_QUEUE_MAX_SIZE, +}; use polkadot_runtime_constants::currency::UNITS as DOT; use runtime_parachains::configuration::HostConfiguration; use sc_chain_spec::{ChainSpec, ChainType, NoExtension}; @@ -76,7 +80,26 @@ fn default_parachains_host_configuration() -> HostConfiguration