From 0b903fdc75aa52a691281c587dd998cbd790748e Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Fri, 3 Nov 2023 11:54:19 +0100 Subject: [PATCH] Add IbcChannelOpenResponse docs --- packages/std/src/ibc.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/std/src/ibc.rs b/packages/std/src/ibc.rs index 9f2b113b17..ae77b6320d 100644 --- a/packages/std/src/ibc.rs +++ b/packages/std/src/ibc.rs @@ -298,7 +298,9 @@ impl From for IbcChannel { } } -/// This serializes either as "null" or a JSON object. +/// This serializes either as `null` or a JSON object. +/// Within the response, a channel version can be specified. +/// If `null` is provided instead, the incoming channel version is accepted. pub type IbcChannelOpenResponse = Option; #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)]