diff --git a/app/upgrades/v1_5/upgrade.go b/app/upgrades/v1_5/upgrade.go index 577b4808..f63f5e66 100644 --- a/app/upgrades/v1_5/upgrade.go +++ b/app/upgrades/v1_5/upgrade.go @@ -3,6 +3,7 @@ package v1_5 import ( "context" "fmt" + "github.com/KYVENetwork/chain/app/upgrades/v1_5/v1_4_bundles_types" "github.com/KYVENetwork/chain/app/upgrades/v1_5/v1_4_pool_types" pooltypes "github.com/KYVENetwork/chain/x/pool/types" @@ -11,7 +12,6 @@ import ( storetypes "cosmossdk.io/store/types" upgradetypes "cosmossdk.io/x/upgrade/types" - "github.com/KYVENetwork/chain/app/upgrades/v1_5/v1_4_types" "github.com/KYVENetwork/chain/x/bundles/keeper" bundlestypes "github.com/KYVENetwork/chain/x/bundles/types" poolkeeper "github.com/KYVENetwork/chain/x/pool/keeper" @@ -64,7 +64,7 @@ func migrateStorageCosts(sdkCtx sdk.Context, bundlesKeeper keeper.Keeper, poolKe // Copy storage cost from old params to new params // The storage cost of all storage providers will be the same after this migration - oldParams := v1_4_types.GetParams(sdkCtx, bundlesStoreKey, cdc) + oldParams := v1_4_bundles_types.GetParams(sdkCtx, bundlesStoreKey, cdc) newParams := bundlestypes.Params{ UploadTimeout: oldParams.UploadTimeout, StorageCosts: []bundlestypes.StorageCost{ diff --git a/app/upgrades/v1_5/v1_4_types/getters_params.go b/app/upgrades/v1_5/v1_4_bundles_types/getters_params.go similarity index 94% rename from app/upgrades/v1_5/v1_4_types/getters_params.go rename to app/upgrades/v1_5/v1_4_bundles_types/getters_params.go index d3f98bef..b7a3734d 100644 --- a/app/upgrades/v1_5/v1_4_types/getters_params.go +++ b/app/upgrades/v1_5/v1_4_bundles_types/getters_params.go @@ -1,4 +1,4 @@ -package v1_4_types +package v1_4_bundles_types import ( storeTypes "cosmossdk.io/store/types" diff --git a/app/upgrades/v1_5/v1_4_types/params.pb.go b/app/upgrades/v1_5/v1_4_bundles_types/params.pb.go similarity index 99% rename from app/upgrades/v1_5/v1_4_types/params.pb.go rename to app/upgrades/v1_5/v1_4_bundles_types/params.pb.go index d57b8070..2789934c 100644 --- a/app/upgrades/v1_5/v1_4_types/params.pb.go +++ b/app/upgrades/v1_5/v1_4_bundles_types/params.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. // source: kyve/bundles/v1beta1/params.proto -package v1_4_types +package v1_4_bundles_types import ( cosmossdk_io_math "cosmossdk.io/math"