From 9bbfbda47fbd136007fedb16d9d64137352569a0 Mon Sep 17 00:00:00 2001 From: Damian Nolan Date: Wed, 21 Sep 2022 13:22:43 +0200 Subject: [PATCH] renaming ica migrations handler pkg version --- .../controller/migrations/{v5 => v6}/migrations.go | 2 +- .../controller/migrations/{v5 => v6}/migrations_test.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename modules/apps/27-interchain-accounts/controller/migrations/{v5 => v6}/migrations.go (99%) rename modules/apps/27-interchain-accounts/controller/migrations/{v5 => v6}/migrations_test.go (97%) diff --git a/modules/apps/27-interchain-accounts/controller/migrations/v5/migrations.go b/modules/apps/27-interchain-accounts/controller/migrations/v6/migrations.go similarity index 99% rename from modules/apps/27-interchain-accounts/controller/migrations/v5/migrations.go rename to modules/apps/27-interchain-accounts/controller/migrations/v6/migrations.go index 2b91c965885..d9e8124c32d 100644 --- a/modules/apps/27-interchain-accounts/controller/migrations/v5/migrations.go +++ b/modules/apps/27-interchain-accounts/controller/migrations/v6/migrations.go @@ -1,4 +1,4 @@ -package v5 +package v6 import ( "github.com/cosmos/cosmos-sdk/codec" diff --git a/modules/apps/27-interchain-accounts/controller/migrations/v5/migrations_test.go b/modules/apps/27-interchain-accounts/controller/migrations/v6/migrations_test.go similarity index 97% rename from modules/apps/27-interchain-accounts/controller/migrations/v5/migrations_test.go rename to modules/apps/27-interchain-accounts/controller/migrations/v6/migrations_test.go index 7818844a554..ba143ef7db3 100644 --- a/modules/apps/27-interchain-accounts/controller/migrations/v5/migrations_test.go +++ b/modules/apps/27-interchain-accounts/controller/migrations/v6/migrations_test.go @@ -1,4 +1,4 @@ -package v5_test +package v6_test import ( "testing" @@ -6,7 +6,7 @@ import ( capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" "github.com/stretchr/testify/suite" - v5 "github.com/cosmos/ibc-go/v5/modules/apps/27-interchain-accounts/controller/migrations/v5" + v6 "github.com/cosmos/ibc-go/v5/modules/apps/27-interchain-accounts/controller/migrations/v6" "github.com/cosmos/ibc-go/v5/modules/apps/27-interchain-accounts/controller/types" icatypes "github.com/cosmos/ibc-go/v5/modules/apps/27-interchain-accounts/types" channeltypes "github.com/cosmos/ibc-go/v5/modules/core/04-channel/types" @@ -117,7 +117,7 @@ func (suite *MigrationsTestSuite) TestMigrateICS27ChannelCapability() { suite.ResetMemStore() // empty the x/capability in-memory store - err = v5.MigrateICS27ChannelCapability( + err = v6.MigrateICS27ChannelCapability( suite.chainA.GetContext(), suite.chainA.Codec, suite.chainA.GetSimApp().GetKey(capabilitytypes.StoreKey),