Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: udeps #2215

Merged
merged 1 commit into from Mar 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 2 additions & 10 deletions ethers-signers/src/aws/mod.rs
Expand Up @@ -279,19 +279,12 @@ impl super::Signer for AwsSigner {

#[cfg(test)]
mod tests {
use super::*;
use crate::Signer;
use rusoto_core::{
credential::{EnvironmentProvider, StaticProvider},
Client, HttpClient, Region,
};
use tracing::metadata::LevelFilter;

use super::*;
use crate::Signer;

#[allow(dead_code)]
fn setup_tracing() {
tracing_subscriber::fmt().with_max_level(LevelFilter::DEBUG).try_init().unwrap();
}

#[allow(dead_code)]
fn static_client() -> KmsClient {
Expand All @@ -318,7 +311,6 @@ mod tests {
Ok(id) => id,
_ => return,
};
setup_tracing();
let client = env_client();
let signer = AwsSigner::new(client, key_id, chain_id).await.unwrap();

Expand Down