@@ -3,10 +3,15 @@ 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 } , FixedPointNumber , Perquintill } ;
6+ use sp_runtime:: {
7+ traits:: { IdentifyAccount , Verify } ,
8+ FixedPointNumber , Perquintill ,
9+ } ;
710use sugondat_kusama_runtime:: Runtime ;
811use sugondat_primitives:: { AccountId , AuraId , Signature } ;
9- use sugondat_test_runtime:: { Runtime as TestRuntime , Multiplier , EXISTENTIAL_DEPOSIT as TEST_EXISTENTIAL_DEPOSIT } ;
12+ use sugondat_test_runtime:: {
13+ Multiplier , Runtime as TestRuntime , EXISTENTIAL_DEPOSIT as TEST_EXISTENTIAL_DEPOSIT ,
14+ } ;
1015
1116pub type GenericChainSpec = sc_service:: GenericChainSpec < ( ) , Extensions > ;
1217
@@ -124,7 +129,7 @@ pub fn development_config() -> TestRuntimeChainSpec {
124129 get_account_id_from_seed :: < sr25519:: Public > ( "Alice" ) ,
125130 1000 . into ( ) ,
126131 Multiplier :: saturating_from_integer ( 1 ) ,
127- Perquintill :: from_percent ( 16 )
132+ Perquintill :: from_percent ( 16 ) ,
128133 ) )
129134 . build ( )
130135}
@@ -168,7 +173,7 @@ pub fn kusama_staging_config() -> KusamaRuntimeChainSpec {
168173 get_account_id_from_seed :: < sr25519:: Public > ( "Alice" ) ,
169174 KUSAMA_PARA_ID . into ( ) ,
170175 Multiplier :: saturating_from_integer ( 1 ) ,
171- Perquintill :: from_percent ( 16 )
176+ Perquintill :: from_percent ( 16 ) ,
172177 ) )
173178 . build ( )
174179}
@@ -222,7 +227,7 @@ pub fn local_testnet_config() -> TestRuntimeChainSpec {
222227 get_account_id_from_seed :: < sr25519:: Public > ( "Alice" ) ,
223228 1000 . into ( ) ,
224229 Multiplier :: saturating_from_integer ( 1 ) ,
225- Perquintill :: from_percent ( 16 )
230+ Perquintill :: from_percent ( 16 ) ,
226231 ) )
227232 . build ( )
228233}
@@ -233,7 +238,7 @@ fn test_runtime_genesis_patch(
233238 root : AccountId ,
234239 id : ParaId ,
235240 next_len_mult : Multiplier ,
236- target_block_size : Perquintill
241+ target_block_size : Perquintill ,
237242) -> serde_json:: Value {
238243 serde_json:: json! ( {
239244 "balances" : {
@@ -275,7 +280,7 @@ fn kusama_runtime_genesis_patch(
275280 root : AccountId ,
276281 id : ParaId ,
277282 next_len_mult : Multiplier ,
278- target_block_size : Perquintill
283+ target_block_size : Perquintill ,
279284) -> serde_json:: Value {
280285 serde_json:: json! ( {
281286 "balances" : {
0 commit comments