From 467e66a5fa8ad7c9db2183ec6c350c8a08f2983b Mon Sep 17 00:00:00 2001 From: Damian Nolan Date: Thu, 22 Jun 2023 10:50:06 +0200 Subject: [PATCH] use new version return in transfer app for testing relayers --- modules/apps/transfer/ibc_module.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/apps/transfer/ibc_module.go b/modules/apps/transfer/ibc_module.go index 722f2ea6bf4..8db2ac69ec2 100644 --- a/modules/apps/transfer/ibc_module.go +++ b/modules/apps/transfer/ibc_module.go @@ -303,12 +303,12 @@ func (im IBCModule) OnTimeoutPacket( // OnChanUpgradeInit implements the IBCModule interface func (im IBCModule) OnChanUpgradeInit(ctx sdk.Context, portID, channelID string, order channeltypes.Order, connectionHops []string, sequence uint64, version, previousVersion string) (string, error) { - return types.Version, nil + return version, nil } // OnChanUpgradeTry implements the IBCModule interface func (im IBCModule) OnChanUpgradeTry(ctx sdk.Context, portID, channelID string, order channeltypes.Order, connectionHops []string, counterpartyVersion string) (string, error) { - return types.Version, nil + return counterpartyVersion, nil } // OnChanUpgradeAck implements the IBCModule interface