diff --git a/e2e/interchaintest/types/icacontroller/constants.go b/e2e/interchaintest/types/icacontroller/constants.go index d3babf6b..9d979f3a 100644 --- a/e2e/interchaintest/types/icacontroller/constants.go +++ b/e2e/interchaintest/types/icacontroller/constants.go @@ -2,11 +2,11 @@ package icacontroller var ( // Query request for contract state - GetContractStateRequest = QueryMsg{GetContractState: &EmptyMsg{}} + GetContractStateRequest = QueryMsg{GetContractState: &struct{}{}} // Query request for channel state - GetChannelRequest = QueryMsg{GetChannel: &EmptyMsg{}} + GetChannelRequest = QueryMsg{GetChannel: &struct{}{}} // Query request for callback counter - GetCallbackCounterRequest = QueryMsg{GetCallbackCounter: &EmptyMsg{}} + GetCallbackCounterRequest = QueryMsg{GetCallbackCounter: &struct{}{}} // Query request for contract ownership - OwnershipRequest = QueryMsg{Ownership: &EmptyMsg{}} + OwnershipRequest = QueryMsg{Ownership: &struct{}{}} ) diff --git a/e2e/interchaintest/types/icacontroller/msg.go b/e2e/interchaintest/types/icacontroller/msg.go index d2b6166d..3e0ccb86 100644 --- a/e2e/interchaintest/types/icacontroller/msg.go +++ b/e2e/interchaintest/types/icacontroller/msg.go @@ -24,17 +24,14 @@ type ExecuteMsg struct { // QueryMsg is the message to query cw-ica-controller type QueryMsg struct { - GetChannel *EmptyMsg `json:"get_channel,omitempty"` - GetContractState *EmptyMsg `json:"get_contract_state,omitempty"` - GetCallbackCounter *EmptyMsg `json:"get_callback_counter,omitempty"` - Ownership *EmptyMsg `json:"ownership,omitempty"` + GetChannel *struct{} `json:"get_channel,omitempty"` + GetContractState *struct{} `json:"get_contract_state,omitempty"` + GetCallbackCounter *struct{} `json:"get_callback_counter,omitempty"` + Ownership *struct{} `json:"ownership,omitempty"` } // MigrateMsg is the message to migrate cw-ica-controller -type MigrateMsg = EmptyMsg - -// EmptyMsg is an empty message -type EmptyMsg struct{} +type MigrateMsg = struct{} // `CreateChannel` makes the contract submit a stargate MsgChannelOpenInit to the chain. // This is a wrapper around [`options::ChannelOpenInitOptions`] and thus requires the