Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: added MsgRegisterInterchainAccountResponse binding #NTRN-268 #138

Merged
merged 3 commits into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion packages/neutron-sdk/src/bindings/msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/neutron-sdk/src/proto_types/NEUTRON_COMMIT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2bf5ac94f7dbb8c31985c8f789bc8e49094adce0
2bf5ac94f7dbb8c31985c8f789bc8e49094adce0
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading