@@ -8,6 +8,7 @@ use sc_consensus_manual_seal::consensus::aura::AuraConsensusDataProvider;
8
8
pub use sc_executor:: NativeElseWasmExecutor ;
9
9
use sc_service:: { error:: Error as ServiceError , Configuration , TaskManager } ;
10
10
use sc_telemetry:: { Telemetry , TelemetryWorker } ;
11
+ use sp_runtime:: traits:: Header as _;
11
12
use std:: { sync:: Arc , time:: Duration } ;
12
13
use tuxedo_core:: { genesis:: TuxedoGenesisBlockBuilder , types:: OpaqueBlock as Block } ;
13
14
@@ -75,6 +76,7 @@ pub fn new_partial(
75
76
executor,
76
77
backend,
77
78
genesis_block_builder,
79
+ false ,
78
80
) ?;
79
81
let client = Arc :: new ( client) ;
80
82
@@ -196,17 +198,16 @@ pub fn new_dev(config: Configuration) -> Result<TaskManager, ServiceError> {
196
198
. block ;
197
199
198
200
let mocked_parachain = {
199
- use sp_api:: { BlockT , HeaderT } ;
200
-
201
201
MockValidationDataInherentDataProvider {
202
- current_para_block : parent_block. header ( ) . number ( ) + 1 ,
202
+ current_para_block : parent_block. header . number ( ) + 1 ,
203
203
relay_offset : 1000 ,
204
204
relay_blocks_per_para_block : 2 ,
205
205
para_blocks_per_relay_epoch : 10 ,
206
206
relay_randomness_config : ( ) ,
207
207
xcm_config : Default :: default ( ) ,
208
208
raw_downward_messages : Default :: default ( ) ,
209
209
raw_horizontal_messages : Default :: default ( ) ,
210
+ additional_key_values : None ,
210
211
}
211
212
} ;
212
213
0 commit comments