@@ -8,33 +8,30 @@ use unionlabs_primitives::H256;
8
8
derive( cosmwasm_schema:: QueryResponses , cw_orch:: QueryFns )
9
9
) ]
10
10
pub enum QueryMsg {
11
- #[ cfg_attr( feature = "cw-orch-interface" , returns( Timestamp ) ) ]
11
+ #[ cfg_attr( feature = "cw-orch-interface" , returns( ibc_union_spec :: Timestamp ) ) ]
12
12
GetTimestampAtHeight { client_id : ClientId , height : u64 } ,
13
13
#[ cfg_attr( feature = "cw-orch-interface" , returns( u64 ) ) ]
14
14
GetLatestHeight { client_id : ClientId } ,
15
- #[ cfg_attr( feature = "cw-orch-interface" , returns( cosmwasm_std :: Binary ) ) ]
15
+ #[ cfg_attr( feature = "cw-orch-interface" , returns( unionlabs_primitives :: Bytes ) ) ]
16
16
GetClientState { client_id : ClientId } ,
17
- #[ cfg_attr( feature = "cw-orch-interface" , returns( cosmwasm_std :: Binary ) ) ]
17
+ #[ cfg_attr( feature = "cw-orch-interface" , returns( unionlabs_primitives :: Bytes ) ) ]
18
18
GetConsensusState { client_id : ClientId , height : u64 } ,
19
19
#[ cfg_attr( feature = "cw-orch-interface" , returns( crate :: lightclient:: Status ) ) ]
20
20
GetStatus { client_id : ClientId } ,
21
- #[ cfg_attr( feature = "cw-orch-interface" , returns( u64 ) ) ]
21
+ #[ cfg_attr( feature = "cw-orch-interface" , returns( String ) ) ]
22
22
GetClientType { client_id : ClientId } ,
23
- #[ cfg_attr(
24
- feature = "cw-orch-interface" ,
25
- returns( ibc_union_spec:: types:: Connection )
26
- ) ]
23
+ #[ cfg_attr( feature = "cw-orch-interface" , returns( ibc_union_spec:: Connection ) ) ]
27
24
GetConnection { connection_id : ConnectionId } ,
28
- #[ cfg_attr( feature = "cw-orch-interface" , returns( ibc_union_spec:: types :: Channel ) ) ]
25
+ #[ cfg_attr( feature = "cw-orch-interface" , returns( ibc_union_spec:: Channel ) ) ]
29
26
GetChannel { channel_id : ChannelId } ,
30
27
#[ cfg_attr( feature = "cw-orch-interface" , returns( std:: collections:: BTreeSet <u32 >) ) ]
31
28
GetChannels { contract : String } ,
32
- #[ cfg_attr( feature = "cw-orch-interface" , returns( Option <Vec < u8 > >) ) ]
29
+ #[ cfg_attr( feature = "cw-orch-interface" , returns( Option <H256 >) ) ]
33
30
GetBatchPackets { batch_hash : H256 } ,
34
- #[ cfg_attr( feature = "cw-orch-interface" , returns( Option <Vec < u8 > >) ) ]
31
+ #[ cfg_attr( feature = "cw-orch-interface" , returns( Option <H256 >) ) ]
35
32
GetBatchReceipts { batch_hash : H256 } ,
36
33
#[ cfg_attr( feature = "cw-orch-interface" , returns( cosmwasm_std:: Addr ) ) ]
37
34
GetClientImpl { client_id : ClientId } ,
38
- #[ cfg_attr( feature = "cw-orch-interface" , returns( cosmwasm_std :: Addr ) ) ]
35
+ #[ cfg_attr( feature = "cw-orch-interface" , returns( String ) ) ]
39
36
GetRegisteredClientType { client_type : String } ,
40
37
}
0 commit comments