diff --git a/modules/core/05-port/types/module.go b/modules/core/05-port/types/module.go index 8abff48c8873..23dba8493078 100644 --- a/modules/core/05-port/types/module.go +++ b/modules/core/05-port/types/module.go @@ -111,7 +111,7 @@ type IBCModule interface { // This guarantees that in-flight packets are correctly flushed using the existing channel parameters. type UpgradableModule interface { // OnChanUpgradeInit enables additional custom logic to be executed when the channel upgrade is initialized. - // It must validate the proposed version, order, and connection hops. + // It must validate the proposed version, order, and connection hops. // Note: in the case of crossing hellos, this callback may be executed on both chains. OnChanUpgradeInit( ctx sdk.Context, @@ -122,8 +122,8 @@ type UpgradableModule interface { ) (string, error) // OnChanUpgradeTry enables additional custom logic to be executed in the ChannelUpgradeTry step of the - // channel upgrade handshake. It must validate the proposed version (provided by the counterparty), order, - // and connection hops. + // channel upgrade handshake. It must validate the proposed version (provided by the counterparty), order, + // and connection hops. OnChanUpgradeTry( ctx sdk.Context, portID, channelID string, @@ -142,8 +142,8 @@ type UpgradableModule interface { ) error // OnChanUpgradeOpen enables additional custom logic to be executed when the channel upgrade has successfully completed, and the channel - // has returned to the OPEN state. Any logic associated with changing of the channel fields should be performed - // in this callback. + // has returned to the OPEN state. Any logic associated with changing of the channel fields should be performed + // in this callback. OnChanUpgradeOpen( ctx sdk.Context, portID, @@ -154,10 +154,10 @@ type UpgradableModule interface { ) // OnChanUpgradeRestore enables additional custom logic to be executed when any of the following occur: - // - the channel upgrade is aborted. - // - the channel upgrade is cancelled. - // - the channel upgrade times out. - // Any logic set due to an upgrade attempt should be reverted in this callback. + // - the channel upgrade is aborted. + // - the channel upgrade is cancelled. + // - the channel upgrade times out. + // Any logic set due to an upgrade attempt should be reverted in this callback. OnChanUpgradeRestore( ctx sdk.Context, portID,