From 019caf5b352108f2aeebc3ebb492657a027654c5 Mon Sep 17 00:00:00 2001 From: Cian Hatton Date: Wed, 3 Jan 2024 10:01:57 +0000 Subject: [PATCH] Update modules/core/05-port/types/module.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> --- modules/core/05-port/types/module.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/core/05-port/types/module.go b/modules/core/05-port/types/module.go index a78e82433dd3..9ea12a38cdb0 100644 --- a/modules/core/05-port/types/module.go +++ b/modules/core/05-port/types/module.go @@ -122,7 +122,8 @@ type UpgradableModule interface { ) (string, error) // OnChanUpgradeTry enables additional custom logic to be executed in the ChannelUpgradeTry step of the - // channel upgrade handshake. + // channel upgrade handshake. It must validate the proposed version (provided by the counterparty), order, + // and connection hops. OnChanUpgradeTry( ctx sdk.Context, portID, channelID string,