From 39e407ec0c774a6a7dda632430c8f751e37de812 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Wed, 24 Apr 2024 13:02:38 +0200 Subject: [PATCH] use import --- ibc-clients/cw-context/src/types/msgs.rs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/ibc-clients/cw-context/src/types/msgs.rs b/ibc-clients/cw-context/src/types/msgs.rs index 506d656959..2389ea1a11 100644 --- a/ibc-clients/cw-context/src/types/msgs.rs +++ b/ibc-clients/cw-context/src/types/msgs.rs @@ -12,7 +12,8 @@ use ibc_core::host::types::path::Path; use ibc_core::primitives::proto::Any; use prost::Message; -use super::error::ContractError; +use crate::types::error::ContractError; +use crate::types::response::QueryResponse; // ------------------------------------------------------------ // Implementation of the InstantiateMsg struct @@ -234,15 +235,15 @@ pub struct MigrateClientStoreMsg {} #[derive(QueryResponses, derive_more::From)] #[cw_serde] pub enum QueryMsg { - #[returns(crate::types::response::QueryResponse)] + #[returns(QueryResponse)] Status(StatusMsg), - #[returns(crate::types::response::QueryResponse)] + #[returns(QueryResponse)] ExportMetadata(ExportMetadataMsg), - #[returns(crate::types::response::QueryResponse)] + #[returns(QueryResponse)] TimestampAtHeight(TimestampAtHeightMsg), - #[returns(crate::types::response::QueryResponse)] + #[returns(QueryResponse)] VerifyClientMessage(VerifyClientMessageRaw), - #[returns(crate::types::response::QueryResponse)] + #[returns(QueryResponse)] CheckForMisbehaviour(CheckForMisbehaviourMsgRaw), }