This repository was archived by the owner on Mar 13, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,7 +114,6 @@ pub fn genesis_config() -> ChainSpec {
114114 GenesisConfig {
115115 system : SystemConfig {
116116 code : wasm_binary_unwrap ( ) . to_vec ( ) ,
117- changes_trie_config : Default :: default ( ) ,
118117 } ,
119118 babe : BabeConfig {
120119 authorities : vec ! [ ] ,
@@ -356,7 +355,6 @@ pub fn development_config() -> ChainSpec {
356355 GenesisConfig {
357356 system : SystemConfig {
358357 code : wasm_binary_unwrap ( ) . to_vec ( ) ,
359- changes_trie_config : Default :: default ( ) ,
360358 } ,
361359 babe : BabeConfig {
362360 authorities : vec ! [ ] ,
@@ -549,7 +547,6 @@ pub fn local_testnet_config() -> ChainSpec {
549547 GenesisConfig {
550548 system : SystemConfig {
551549 code : wasm_binary_unwrap ( ) . to_vec ( ) ,
552- changes_trie_config : Default :: default ( ) ,
553550 } ,
554551 babe : BabeConfig {
555552 authorities : vec ! [ ] ,
Original file line number Diff line number Diff line change @@ -103,10 +103,7 @@ pub fn genesis_config() -> ChainSpec {
103103 } ;
104104
105105 GenesisConfig {
106- system : SystemConfig {
107- code : wasm_binary_unwrap ( ) . to_vec ( ) ,
108- changes_trie_config : Default :: default ( ) ,
109- } ,
106+ system : SystemConfig { code : wasm_binary_unwrap ( ) . to_vec ( ) } ,
110107 babe : BabeConfig { authorities : vec ! [ ] , epoch_config : Some ( BABE_GENESIS_EPOCH_CONFIG ) } ,
111108 balances : BalancesConfig {
112109 balances : vec ! [
@@ -256,10 +253,7 @@ pub fn development_config() -> ChainSpec {
256253 } ;
257254
258255 GenesisConfig {
259- system : SystemConfig {
260- code : wasm_binary_unwrap ( ) . to_vec ( ) ,
261- changes_trie_config : Default :: default ( ) ,
262- } ,
256+ system : SystemConfig { code : wasm_binary_unwrap ( ) . to_vec ( ) } ,
263257 babe : BabeConfig { authorities : vec ! [ ] , epoch_config : Some ( BABE_GENESIS_EPOCH_CONFIG ) } ,
264258 balances : BalancesConfig {
265259 balances : endowed_accounts. clone ( ) . into_iter ( ) . map ( |a| ( a, MANY_COINS ) ) . collect ( ) ,
Original file line number Diff line number Diff line change @@ -42,10 +42,7 @@ pub fn development_config() -> ChainSpec {
4242 ] ;
4343
4444 GenesisConfig {
45- system : SystemConfig {
46- code : wasm_binary_unwrap ( ) . to_vec ( ) ,
47- changes_trie_config : Default :: default ( ) ,
48- } ,
45+ system : SystemConfig { code : wasm_binary_unwrap ( ) . to_vec ( ) } ,
4946 balances : BalancesConfig {
5047 balances : endowed_accounts. iter ( ) . cloned ( ) . map ( |k| ( k, 1 << 60 ) ) . collect ( ) ,
5148 } ,
Original file line number Diff line number Diff line change @@ -187,7 +187,6 @@ where
187187 transaction_pool : transaction_pool. clone ( ) ,
188188 spawn_handle : task_manager. spawn_handle ( ) ,
189189 import_queue,
190- on_demand : None ,
191190 block_announce_validator_builder : None ,
192191 warp_sync : Some ( warp_sync) ,
193192 } ) ?;
@@ -296,8 +295,6 @@ where
296295 rpc_extensions_builder,
297296 transaction_pool : transaction_pool. clone ( ) ,
298297 task_manager : & mut task_manager,
299- on_demand : None ,
300- remote_blockchain : None ,
301298 system_rpc_tx,
302299 telemetry : telemetry. as_mut ( ) ,
303300 } ) ?;
Original file line number Diff line number Diff line change @@ -167,7 +167,6 @@ pub fn new_full(
167167 transaction_pool : transaction_pool. clone ( ) ,
168168 spawn_handle : task_manager. spawn_handle ( ) ,
169169 import_queue,
170- on_demand : None ,
171170 block_announce_validator_builder : None ,
172171 warp_sync : None ,
173172 } ) ?;
@@ -243,8 +242,6 @@ pub fn new_full(
243242 task_manager : & mut task_manager,
244243 transaction_pool : transaction_pool. clone ( ) ,
245244 rpc_extensions_builder,
246- on_demand : None ,
247- remote_blockchain : None ,
248245 backend : backend. clone ( ) ,
249246 system_rpc_tx,
250247 config,
You can’t perform that action at this time.
0 commit comments