Skip to content

Commit 59e1365

Browse files
author
Naohiro Yoshida
committed
fix github warning
Signed-off-by: Naohiro Yoshida <naohiro.yoshida@datachain.jp>
1 parent c6d0e26 commit 59e1365

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

light-client/src/client_state.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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![],

light-client/src/header/eth_headers.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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;

light-client/src/header/mod.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)