@@ -110,7 +110,7 @@ mod tests {
110110 config:: minimal:: get_config ( ) ,
111111 Default :: default ( ) ,
112112 Default :: default ( ) ,
113- Fraction :: new ( 2 , 3 ) ,
113+ Fraction :: new ( 2 , 3 ) . unwrap ( ) ,
114114 SystemTime :: now ( )
115115 . duration_since ( SystemTime :: UNIX_EPOCH )
116116 . unwrap ( )
@@ -128,6 +128,7 @@ mod tests {
128128 let current_sync_committee = scm. get_committee ( base_store_period) ;
129129 let dummy_execution_state_root = [ 1u8 ; 32 ] . into ( ) ;
130130 let dummy_execution_block_number = 1 ;
131+ let dummy_execution_block_hash = [ 1u8 ; 32 ] . into ( ) ;
131132
132133 let client_state =
133134 ClientState :: < { ethereum_consensus:: preset:: minimal:: PRESET . SYNC_COMMITTEE_SIZE } > {
@@ -149,7 +150,7 @@ mod tests {
149150 epochs_per_sync_committee_period : PRESET . EPOCHS_PER_SYNC_COMMITTEE_PERIOD ,
150151 ibc_address : Address ( hex ! ( "ff77D90D6aA12db33d3Ba50A34fB25401f6e4c4F" ) ) ,
151152 ibc_commitments_slot : keccak256 ( "ibc_commitments_slot" ) ,
152- trust_level : Fraction :: new ( 2 , 3 ) ,
153+ trust_level : Fraction :: new ( 2 , 3 ) . unwrap ( ) ,
153154 trusting_period : Duration :: from_secs ( 60 * 60 * 27 ) ,
154155 max_clock_drift : Duration :: from_secs ( 60 ) ,
155156 latest_execution_block_number : 1 . into ( ) ,
@@ -184,6 +185,7 @@ mod tests {
184185 base_finalized_epoch,
185186 dummy_execution_state_root,
186187 dummy_execution_block_number. into ( ) ,
188+ dummy_execution_block_hash,
187189 current_sync_committee,
188190 scm. get_committee ( base_store_period + 1 ) ,
189191 true ,
@@ -234,6 +236,7 @@ mod tests {
234236 base_finalized_epoch + ctx. epochs_per_sync_committee_period ( ) ,
235237 dummy_execution_state_root,
236238 dummy_execution_block_number. into ( ) ,
239+ dummy_execution_block_hash,
237240 current_sync_committee,
238241 scm. get_committee ( base_store_period + 2 ) ,
239242 true ,
@@ -285,6 +288,7 @@ mod tests {
285288 base_finalized_epoch + ctx. epochs_per_sync_committee_period ( ) ,
286289 dummy_execution_state_root,
287290 dummy_execution_block_number. into ( ) ,
291+ dummy_execution_block_hash,
288292 current_sync_committee,
289293 scm. get_committee ( base_store_period + 2 ) ,
290294 false ,
@@ -324,6 +328,7 @@ mod tests {
324328 base_finalized_epoch - ctx. epochs_per_sync_committee_period ( ) ,
325329 dummy_execution_state_root,
326330 dummy_execution_block_number. into ( ) ,
331+ dummy_execution_block_hash,
327332 current_sync_committee,
328333 scm. get_committee ( base_store_period) ,
329334 true ,
0 commit comments