-
Notifications
You must be signed in to change notification settings - Fork 31
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
sync with ibc-go 04-channel-upgrades-hermes-integration.1
#184
Merged
crodriguezvega
merged 1 commit into
romac/channel-upgrade-only
from
carlos/sync-ibc-go-04-channel-upgrade-hermes-integration.1
Jan 22, 2024
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
7a89e5d5b5ebb7643ce3992c34008c35373ecf34 | ||
4e3d164e4f9a5986bbe6595138feb49160e27215 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -132,7 +132,7 @@ pub struct PacketState { | |
#[prost(bytes = "vec", tag = "4")] | ||
pub data: ::prost::alloc::vec::Vec<u8>, | ||
} | ||
/// PacketId is an identifer for a unique Packet | ||
/// PacketId is an identifier for a unique Packet | ||
/// Source chains refer to packets by source port/channel | ||
/// Destination chains refer to packets by destination port/channel | ||
#[cfg_attr(feature = "serde", derive(::serde::Serialize, ::serde::Deserialize))] | ||
|
@@ -429,6 +429,9 @@ pub struct MsgChannelOpenTryResponse { | |
} | ||
/// MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge | ||
/// the change of channel state to TRYOPEN on Chain B. | ||
/// WARNING: a channel upgrade MUST NOT initialize an upgrade for this channel | ||
/// in the same block as executing this message otherwise the counterparty will | ||
/// be incapable of opening. | ||
#[cfg_attr(feature = "serde", derive(::serde::Serialize, ::serde::Deserialize))] | ||
#[allow(clippy::derive_partial_eq_without_eq)] | ||
#[derive(Clone, PartialEq, ::prost::Message)] | ||
|
@@ -618,6 +621,8 @@ pub struct MsgAcknowledgementResponse { | |
pub result: i32, | ||
} | ||
/// MsgChannelUpgradeInit defines the request type for the ChannelUpgradeInit rpc | ||
/// WARNING: Initializing a channel upgrade in the same block as opening the channel | ||
/// may result in the counterparty being incapable of opening. | ||
#[cfg_attr(feature = "serde", derive(::serde::Serialize, ::serde::Deserialize))] | ||
#[allow(clippy::derive_partial_eq_without_eq)] | ||
#[derive(Clone, PartialEq, ::prost::Message)] | ||
|
@@ -748,11 +753,13 @@ pub struct MsgChannelUpgradeOpen { | |
pub channel_id: ::prost::alloc::string::String, | ||
#[prost(enumeration = "State", tag = "3")] | ||
pub counterparty_channel_state: i32, | ||
#[prost(bytes = "vec", tag = "4")] | ||
#[prost(uint64, tag = "4")] | ||
pub counterparty_upgrade_sequence: u64, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This field has been added to |
||
#[prost(bytes = "vec", tag = "5")] | ||
pub proof_channel: ::prost::alloc::vec::Vec<u8>, | ||
#[prost(message, optional, tag = "5")] | ||
#[prost(message, optional, tag = "6")] | ||
pub proof_height: ::core::option::Option<super::super::client::v1::Height>, | ||
#[prost(string, tag = "6")] | ||
#[prost(string, tag = "7")] | ||
pub signer: ::prost::alloc::string::String, | ||
} | ||
/// MsgChannelUpgradeOpenResponse defines the MsgChannelUpgradeOpen response type | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This field has been added to
MsgRegisterInterchainAccount
.