From c40bfe062bffbe720f4c60bab007389050240d40 Mon Sep 17 00:00:00 2001 From: Sean Chen Date: Wed, 15 Jan 2025 14:18:14 -0600 Subject: [PATCH] Addd some additional bounds to CommandRunner impl --- .../cli-components/src/impls/commands/connection/create.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/cli/cli-components/src/impls/commands/connection/create.rs b/crates/cli/cli-components/src/impls/commands/connection/create.rs index 1d55a1882..f2769aa8b 100644 --- a/crates/cli/cli-components/src/impls/commands/connection/create.rs +++ b/crates/cli/cli-components/src/impls/commands/connection/create.rs @@ -11,6 +11,7 @@ use hermes_relayer_components::chain::traits::types::chain_id::HasChainIdType; use hermes_relayer_components::chain::traits::types::connection::HasInitConnectionOptionsType; use hermes_relayer_components::chain::traits::types::ibc::HasClientIdType; use hermes_relayer_components::multi::traits::chain_at::HasChainTypeAt; +use hermes_relayer_components::multi::traits::relay_at::HasRelayTypeAt; use hermes_relayer_components::relay::impls::connection::bootstrap::CanBootstrapConnection; use hermes_relayer_components::relay::traits::chains::HasRelayChains; @@ -71,7 +72,8 @@ where App::Logger: CanLog, Builder: CanBuildRelay, Index<1>, Relay = Relay> + HasChainTypeAt, Chain = Chain> - + HasChainTypeAt, Chain = Counterparty>, + + HasChainTypeAt, Chain = Counterparty> + + HasRelayTypeAt, Index<1>>, Chain: HasChainIdType + HasClientIdType + HasInitConnectionOptionsType, Chain::InitConnectionOptions: Default,