Skip to content

Commit

Permalink
improvement: allow chains that can't introspect their own `ConsensusS…
Browse files Browse the repository at this point in the history
…tate` support IBC
  • Loading branch information
seunlanlege authored Dec 27, 2022
1 parent 4e5c052 commit 48efd8e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
* (light-clients/06-solomachine) Moving `verifyMisbehaviour` function from update.go to misbehaviour_handle.go.
* [\#2434](https://github.com/cosmos/ibc-go/pull/2478) Removed all `TypeMsg` constants
* (modules/core/exported) [#1689] (https://github.com/cosmos/ibc-go/pull/2539) Removing `GetVersions` from `ConnectionI` interface.
* (core/02-connection) [#2419](https://github.com/cosmos/ibc-go/pull/2419) Add optional proof data to proto definitions of `MsgConnectionOpenTry` and `MsgConnectionOpenAck` for host state machines that are unable to introspect their own consensus state.

### Features

Expand Down
4 changes: 4 additions & 0 deletions proto/ibc/core/connection/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ message MsgConnectionOpenTry {
ibc.core.client.v1.Height consensus_height = 11
[(gogoproto.moretags) = "yaml:\"consensus_height\"", (gogoproto.nullable) = false];
string signer = 12;
// optional proof data for host state machines that are unable to introspect their own consensus state
bytes host_consensus_state_proof = 13;
}

// MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type.
Expand Down Expand Up @@ -94,6 +96,8 @@ message MsgConnectionOpenAck {
ibc.core.client.v1.Height consensus_height = 9
[(gogoproto.moretags) = "yaml:\"consensus_height\"", (gogoproto.nullable) = false];
string signer = 10;
// optional proof data for host state machines that are unable to introspect their own consensus state
bytes host_consensus_state_proof = 11;
}

// MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type.
Expand Down

0 comments on commit 48efd8e

Please sign in to comment.