Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
fix: make clippy --all-features happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Farhad-Shabani committed Mar 15, 2024
1 parent f9b723a commit a9119e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mocks/src/relayer/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use ibc_client_tendermint::types::client_type as tm_client_type;
use ibc_core::host::types::identifiers::Sequence;
use ibc_core::host::ValidationContext;
use sov_celestia_client::types::client_state::sov_client_type;
#[cfg(feature = "celestia-da")]
#[cfg(all(feature = "celestia-da", not(feature = "mock-da")))]
use sov_consensus_state_tracker::CelestiaService;
use sov_consensus_state_tracker::HasConsensusState;
#[cfg(feature = "mock-da")]
Expand All @@ -14,7 +14,7 @@ use sov_state::{MerkleProofSpec, ProverStorage};
use tracing::info;

use super::DefaultRelayer;
#[cfg(feature = "celestia-da")]
#[cfg(all(feature = "celestia-da", not(feature = "mock-da")))]
use crate::configs::default_config_with_celestia_da;
#[cfg(feature = "mock-da")]
use crate::configs::default_config_with_mock_da;
Expand Down Expand Up @@ -42,7 +42,7 @@ impl RelayerBuilder<DefaultSpec, MockDaService> {
}
}

#[cfg(feature = "celestia-da")]
#[cfg(all(feature = "celestia-da", not(feature = "mock-da")))]
impl RelayerBuilder<DefaultSpec, CelestiaService> {
pub async fn default() -> Self {
Self {
Expand Down

0 comments on commit a9119e8

Please sign in to comment.