Skip to content

Commit

Permalink
Fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
seanchen1991 committed Jan 17, 2025
2 parents d701a5b + 4041cfd commit 4f31851
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,15 @@ use hermes_logging_components::types::level::LevelInfo;
use hermes_relayer_components::build::traits::builders::relay_builder::CanBuildRelay;
use hermes_relayer_components::chain::traits::types::chain_id::HasChainIdType;
use hermes_relayer_components::chain::traits::types::channel::HasInitChannelOptionsType;
use hermes_relayer_components::chain::traits::types::ibc::HasClientIdType;
use hermes_relayer_components::chain::traits::types::ibc::HasIbcChainTypes;
use hermes_relayer_components::chain::traits::types::ibc::{HasClientIdType, HasIbcChainTypes};
use hermes_relayer_components::multi::traits::chain_at::HasChainTypeAt;
use hermes_relayer_components::multi::traits::relay_at::HasRelayTypeAt;
use hermes_relayer_components::relay::impls::channel::bootstrap::CanBootstrapChannel;
use hermes_relayer_components::relay::traits::chains::HasRelayChains;

use crate::traits::build::CanLoadBuilder;
use crate::traits::command::CommandRunner;
use crate::traits::output::CanProduceOutput;
use crate::traits::output::HasOutputType;
use crate::traits::output::{CanProduceOutput, HasOutputType};
use crate::traits::parse::CanParseArg;

pub struct RunCreateChannelCommand;
Expand Down Expand Up @@ -145,12 +143,11 @@ where
logger
.log(
&format!(
"Creating channel between {}:{} and {}:{} on connection {}...",
"Creating channel between {}:{} and {}:{} ...",
target_chain_id,
target_client_id,
counterparty_chain_id,
counterparty_client_id,
target_connection_id,
),
&LevelInfo,
)
Expand Down
5 changes: 2 additions & 3 deletions crates/cli/cli-components/src/impls/parse/identifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ use hermes_cosmos_chain_components::types::channel::CosmosInitChannelOptions;
use ibc::core::channel::types::channel::Order;
use ibc::core::channel::types::Version;
use ibc::core::host::types::error::IdentifierError;
use ibc::core::host::types::identifiers::ConnectionId;
use ibc::core::host::types::identifiers::PortId;
use ibc::core::host::types::identifiers::{ConnectionId, PortId};

use crate::traits::parse::ArgParser;

Expand Down Expand Up @@ -38,7 +37,7 @@ pub struct ParseInitCosmosChannelOptions;

impl<App, Args, Tag> ArgParser<App, Args, Tag> for ParseInitCosmosChannelOptions
where
App: CanRaiseAsyncError<IdentifierError>,
App: HasAsyncErrorType,
Args: HasField<symbol!("target_connection_id"), Value = String>
+ HasField<symbol!("version"), Value = String>
+ HasField<symbol!("ordering"), Value = String>,
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/cli/src/contexts/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ pub trait CanUseHermesApp:
+ CanRunCommand<QueryBalanceArgs>
+ CanRunCommand<CreateClientArgs>
+ CanRunCommand<CreateConnectionArgs>
+ CanRunCommand<CreateChannelArgs>
// + CanRunCommand<CreateChannelArgs>
+ CanRunCommand<UpdateClientArgs>
+ CanRunCommand<BootstrapChainArgs>
+ CanRunCommand<QueryChannelSubCommand>
Expand Down

0 comments on commit 4f31851

Please sign in to comment.