@@ -3,7 +3,7 @@ use sc_chain_spec::{ChainSpecExtension, ChainSpecGroup};
33use sc_service:: ChainType ;
44use serde:: { Deserialize , Serialize } ;
55use sp_core:: { sr25519, Pair , Public } ;
6- use sp_runtime:: { traits:: { IdentifyAccount , Verify } , Perquintill } ;
6+ use sp_runtime:: { traits:: { IdentifyAccount , Verify } , FixedPointNumber , Perquintill } ;
77use sugondat_kusama_runtime:: Runtime ;
88use sugondat_primitives:: { AccountId , AuraId , Signature } ;
99use sugondat_test_runtime:: { Runtime as TestRuntime , Multiplier , EXISTENTIAL_DEPOSIT as TEST_EXISTENTIAL_DEPOSIT } ;
@@ -123,8 +123,8 @@ pub fn development_config() -> TestRuntimeChainSpec {
123123 ] ,
124124 get_account_id_from_seed :: < sr25519:: Public > ( "Alice" ) ,
125125 1000 . into ( ) ,
126- None ,
127- None
126+ Multiplier :: saturating_from_integer ( 1 ) ,
127+ Perquintill :: from_percent ( 16 )
128128 ) )
129129 . build ( )
130130}
@@ -167,8 +167,8 @@ pub fn kusama_staging_config() -> KusamaRuntimeChainSpec {
167167 vec ! [ ] , // no endowed accounts - must teleport.
168168 get_account_id_from_seed :: < sr25519:: Public > ( "Alice" ) ,
169169 KUSAMA_PARA_ID . into ( ) ,
170- None ,
171- None
170+ Multiplier :: saturating_from_integer ( 1 ) ,
171+ Perquintill :: from_percent ( 16 )
172172 ) )
173173 . build ( )
174174}
@@ -221,8 +221,8 @@ pub fn local_testnet_config() -> TestRuntimeChainSpec {
221221 ] ,
222222 get_account_id_from_seed :: < sr25519:: Public > ( "Alice" ) ,
223223 1000 . into ( ) ,
224- None ,
225- None
224+ Multiplier :: saturating_from_integer ( 1 ) ,
225+ Perquintill :: from_percent ( 16 )
226226 ) )
227227 . build ( )
228228}
@@ -232,8 +232,8 @@ fn test_runtime_genesis_patch(
232232 endowed_accounts : Vec < AccountId > ,
233233 root : AccountId ,
234234 id : ParaId ,
235- next_len_mult : Option < Multiplier > ,
236- target_block_size : Option < Perquintill >
235+ next_len_mult : Multiplier ,
236+ target_block_size : Perquintill
237237) -> serde_json:: Value {
238238 serde_json:: json! ( {
239239 "balances" : {
@@ -274,8 +274,8 @@ fn kusama_runtime_genesis_patch(
274274 endowed_accounts : Vec < AccountId > ,
275275 root : AccountId ,
276276 id : ParaId ,
277- next_len_mult : Option < Multiplier > ,
278- target_block_size : Option < Perquintill >
277+ next_len_mult : Multiplier ,
278+ target_block_size : Perquintill
279279) -> serde_json:: Value {
280280 serde_json:: json! ( {
281281 "balances" : {
0 commit comments