Skip to content

Commit

Permalink
fix to linters check tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jun Kimura <[email protected]>
  • Loading branch information
bluele committed Nov 24, 2022
1 parent 26c904c commit 59b2d59
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 34 deletions.
24 changes: 0 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ yrly:

.PHONY: lint
lint:
@cargo check --locked $(CARGO_TARGET)
@cargo udeps --locked --lib --quiet $(CARGO_TARGET)
@cargo check --locked --tests $(CARGO_TARGET)
@cargo udeps --locked --lib --tests --quiet $(CARGO_TARGET)

.PHONY: test
test:
Expand Down
2 changes: 0 additions & 2 deletions modules/ibc-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@ lcp-proto = { path = "../../proto", default-features = false }
crypto = { path = "../crypto", default-features = false }

[dev-dependencies]
lazy_static = { version = "1.1.0", features = ["spin_no_std"] }
tempdir = "0.3.7"
mock-lc = { path = "../mock-lc" }
store = { path = "../store" }
context = { path = "../context" }
ecall-commands = { path = "../ecall-commands" }
light-client-registry = { path = "../light-client-registry", default-features = false }
crypto = { path = "../crypto", default-features = false, features = ["std"] }

Expand Down
2 changes: 0 additions & 2 deletions tests/integration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ build = "build.rs"
ibc = { git = "https://github.com/informalsystems/ibc-rs", rev = "e8c98d440949abf971ac45a68ed9dd9e6e9f48ed", default-features = false }
ibc-relayer = { git = "https://github.com/informalsystems/ibc-rs", rev = "e8c98d440949abf971ac45a68ed9dd9e6e9f48ed", default-features = false }
ibc-proto = { git = "https://github.com/informalsystems/ibc-rs", rev = "e8c98d440949abf971ac45a68ed9dd9e6e9f48ed", default-features = false }
ibc-integration-test = { git = "https://github.com/informalsystems/ibc-rs", rev = "e8c98d440949abf971ac45a68ed9dd9e6e9f48ed", default-features = false }
ibc-test-framework = { git = "https://github.com/informalsystems/ibc-rs", rev = "e8c98d440949abf971ac45a68ed9dd9e6e9f48ed", default-features = false }
tendermint-proto = { version = "=0.23.7", default-features = false }
tendermint-rpc = { version = "=0.23.7", features = ["http-client", "websocket-client"] }
Expand All @@ -29,7 +28,6 @@ ocall-handler = { path = "../../modules/ocall-handler" }
enclave-api = { path = "../../modules/enclave-api" }
ecall-commands = { path = "../../modules/ecall-commands" }
attestation-report = { path = "../../modules/attestation-report" }
settings = { path = "../../modules/settings" }
relay-tendermint = { path = "../../modules/relay/tendermint" }

[features]
Expand Down
6 changes: 2 additions & 4 deletions tests/integration/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ mod tests {
CommitmentProofPair, IASRemoteAttestationInput, InitClientInput, InitEnclaveInput,
UpdateClientInput, VerifyMembershipInput,
};
use enclave_api::EnclaveCommandAPI;
use enclave_api::{Enclave, EnclavePrimitiveAPI};
use enclave_api::{Enclave, EnclaveCommandAPI};
use host_environment::Environment;
use ibc::core::{
ics23_commitment::{commitment::CommitmentProofBytes, merkle::MerkleProof},
Expand All @@ -25,11 +24,10 @@ mod tests {
};
use lcp_types::Time;
use log::*;
use once_cell::sync::Lazy;
use relay_tendermint::Relayer;
use std::str::FromStr;
use std::sync::{Arc, RwLock};
use store::{host::HostStore, memory::MemStore, transaction::CommitStore};
use store::{host::HostStore, memory::MemStore};
use tempdir::TempDir;
use tendermint_proto::Protobuf;
use tokio::runtime::Runtime as TokioRuntime;
Expand Down

0 comments on commit 59b2d59

Please sign in to comment.