From ed8684e5a08ce63526c0a5c41d85facaa33f9bfe Mon Sep 17 00:00:00 2001 From: Aleksandr Pismenskiy Date: Wed, 17 Apr 2024 12:44:08 +0300 Subject: [PATCH] added binding MsgRegisterInterchainAccountResponse, regenerated proto --- packages/neutron-sdk/src/bindings/msg.rs | 12 +++++++++++- packages/neutron-sdk/src/proto_types/NEUTRON_COMMIT | 2 +- .../src/proto_types/neutron.interchaintxs.v1.rs | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/packages/neutron-sdk/src/bindings/msg.rs b/packages/neutron-sdk/src/bindings/msg.rs index d98ad76e..d020571a 100644 --- a/packages/neutron-sdk/src/bindings/msg.rs +++ b/packages/neutron-sdk/src/bindings/msg.rs @@ -534,6 +534,16 @@ pub struct MsgRegisterInterchainQueryResponse { pub id: u64, } +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)] +#[serde(rename_all = "snake_case")] +/// MsgRegisterInterchainAccountResponse defines the Msg/RegisterInterchainAccount response type. +pub struct MsgRegisterInterchainAccountResponse { + /// **channel_id** is a ... + pub channel_id: String, + /// **port_id** is a ... + pub port_id: String, +} + #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)] #[serde(rename_all = "snake_case")] /// MsgSubmitTxResponse defines the response for Msg/SubmitTx. @@ -546,7 +556,7 @@ pub struct MsgSubmitTxResponse { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)] #[serde(rename_all = "snake_case")] -/// MsgSubmitTxResponse defines the response for Msg/IbcTransfer. +/// MsgIbcTransferResponse defines the response for Msg/IbcTransfer. pub struct MsgIbcTransferResponse { /// **sequence_id** is a channel's sequence_id for outgoing ibc packet. Unique per a channel. pub sequence_id: u64, diff --git a/packages/neutron-sdk/src/proto_types/NEUTRON_COMMIT b/packages/neutron-sdk/src/proto_types/NEUTRON_COMMIT index 7590ae97..40966529 100644 --- a/packages/neutron-sdk/src/proto_types/NEUTRON_COMMIT +++ b/packages/neutron-sdk/src/proto_types/NEUTRON_COMMIT @@ -1 +1 @@ -f6a079d67ec5c887447a8e2e2e35f2fdb58c3823 \ No newline at end of file +0427074aa5af33608ffb5fab0cadc6d8804d3c9f \ No newline at end of file diff --git a/packages/neutron-sdk/src/proto_types/neutron.interchaintxs.v1.rs b/packages/neutron-sdk/src/proto_types/neutron.interchaintxs.v1.rs index 8bfefc25..a73fb58f 100644 --- a/packages/neutron-sdk/src/proto_types/neutron.interchaintxs.v1.rs +++ b/packages/neutron-sdk/src/proto_types/neutron.interchaintxs.v1.rs @@ -62,7 +62,12 @@ pub struct MsgRegisterInterchainAccount { /// MsgRegisterInterchainAccountResponse is the response type for /// MsgRegisterInterchainAccount. #[derive(Clone, PartialEq, ::prost::Message)] -pub struct MsgRegisterInterchainAccountResponse {} +pub struct MsgRegisterInterchainAccountResponse { + #[prost(string, tag = "1")] + pub channel_id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub port_id: ::prost::alloc::string::String, +} /// MsgSubmitTx defines the payload for Msg/SubmitTx #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgSubmitTx {