From fe4031f044401c963946285a062bf635a15ead2d Mon Sep 17 00:00:00 2001 From: Seun Lanlege Date: Wed, 28 Sep 2022 10:36:58 +0100 Subject: [PATCH] extend 03-connection proto with extra data for state machines that can't introspect their own consensus state --- proto/ibc/core/connection/v1/tx.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proto/ibc/core/connection/v1/tx.proto b/proto/ibc/core/connection/v1/tx.proto index 94d676bbc38..91b8011b989 100644 --- a/proto/ibc/core/connection/v1/tx.proto +++ b/proto/ibc/core/connection/v1/tx.proto @@ -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; + // extra data for state machaines that can't introspect their own consensus state. + bytes host_consensus_state_info = 13; } // MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. @@ -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; + // extra data for state machaines that can't introspect their own consensus state. + bytes host_consensus_state_info = 11; } // MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type.