Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
heemankv committed Nov 7, 2024
1 parent 5201fad commit 7e7ab9b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
6 changes: 1 addition & 5 deletions crates/orchestrator/src/config.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
use std::sync::Arc;

#[cfg(feature = "testing")]
use alloy::primitives::Address;
#[cfg(feature = "testing")]
use alloy::providers::RootProvider;
use aws_config::meta::region::RegionProviderChain;
use aws_config::{Region, SdkConfig};
use aws_credential_types::Credentials;
Expand Down Expand Up @@ -296,7 +292,7 @@ pub async fn build_settlement_client(
}
#[cfg(feature = "testing")]
{
Ok(Box::new(EthereumSettlementClient::with_test_settings(&ethereum_settlement_params)))
Ok(Box::new(EthereumSettlementClient::with_test_settings(ethereum_settlement_params)))
}
}
SettlementParams::Starknet(starknet_settlement_params) => {
Expand Down
2 changes: 0 additions & 2 deletions crates/settlement-clients/ethereum/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ use color_eyre::eyre::{bail, eyre, Ok};
use color_eyre::Result;
use conversion::{get_input_data_for_eip_4844, prepare_sidecar};
use settlement_client_interface::{SettlementClient, SettlementVerificationStatus};
#[cfg(feature = "testing")]
use url::Url;
use utils::cli::settlement::ethereum::EthereumSettlementParams;

use crate::clients::interfaces::validity_interface::StarknetValidityContractTrait;
Expand Down
2 changes: 1 addition & 1 deletion crates/settlement-clients/ethereum/src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ mod settlement_client_tests {
starknet_operator_address: get_env_var_or_panic("STARKNET_OPERATOR_ADDRESS"),
};

let setup = EthereumTestBuilder::new().with_fork_block(fork_block_no).build().await;
let _setup = EthereumTestBuilder::new().with_fork_block(fork_block_no).build().await;
let ethereum_settlement_client = EthereumSettlementClient::with_test_settings(&ethereum_settlement_params);

assert_eq!(
Expand Down

0 comments on commit 7e7ab9b

Please sign in to comment.