File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed
Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -315,7 +315,6 @@ mod test {
315315 previous_validators_hash : hp. previous_epoch_header ( ) . epoch . unwrap ( ) . hash ( ) ,
316316 } ;
317317 let header = Header :: new (
318- vec ! [ 1 ] ,
319318 ETHHeaders {
320319 target : hp. epoch_header ( ) ,
321320 all : vec ! [ ] ,
Original file line number Diff line number Diff line change @@ -275,11 +275,10 @@ mod test {
275275
276276 use crate :: fixture:: * ;
277277 use crate :: header:: epoch:: { EitherEpoch , Epoch , TrustedEpoch , UntrustedEpoch } ;
278- use crate :: header:: validator_set:: ValidatorSet ;
279- use crate :: header:: Header ;
278+
280279 use crate :: misc:: Validators ;
281280 use hex_literal:: hex;
282- use light_client :: types :: Any ;
281+
283282 use rstest:: rstest;
284283 use std:: prelude:: rust_2015:: { Box , Vec } ;
285284 use std:: vec;
Original file line number Diff line number Diff line change @@ -259,9 +259,8 @@ pub(crate) mod test {
259259 use crate :: header:: { verify_epoch, Header } ;
260260 use crate :: misc:: { new_height, Hash , Validators } ;
261261 use alloc:: boxed:: Box ;
262- use alloc:: vec:: Vec ;
263- use hex_literal:: hex;
264- use light_client:: types:: { Any , Height as LCPHeight , Time } ;
262+
263+ use light_client:: types:: { Height as LCPHeight , Time } ;
265264 use parlia_ibc_proto:: ibc:: core:: client:: v1:: Height ;
266265 use parlia_ibc_proto:: ibc:: lightclients:: parlia:: v1:: { EthHeader , Header as RawHeader } ;
267266 use rstest:: rstest;
@@ -276,7 +275,6 @@ pub(crate) mod test {
276275 }
277276
278277 pub ( crate ) fn new (
279- account_proof : Vec < u8 > ,
280278 headers : ETHHeaders ,
281279 trusted_height : Height ,
282280 previous_epoch : Epoch ,
You can’t perform that action at this time.
0 commit comments