diff --git a/app/app.go b/app/app.go index 89585bbf11..c0841de04e 100644 --- a/app/app.go +++ b/app/app.go @@ -1361,10 +1361,9 @@ func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino paramsKeeper.Subspace(govtypes.ModuleName).WithKeyTable(govtypesv1.ParamKeyTable()) paramsKeeper.Subspace(crisistypes.ModuleName) - paramsKeeper.Subspace(markertypes.ModuleName) // TODO[1760]: params: Migrate marker params. - paramsKeeper.Subspace(nametypes.ModuleName) // TODO[1760]: params: Migrate name params. - paramsKeeper.Subspace(attributetypes.ModuleName) // TODO[1760]: params: Migrate attribute params. - paramsKeeper.Subspace(msgfeestypes.ModuleName) // TODO[1760]: params: Migrate msgFees params. + paramsKeeper.Subspace(markertypes.ModuleName) // TODO[1760]: params: Migrate marker params. + paramsKeeper.Subspace(nametypes.ModuleName) // TODO[1760]: params: Migrate name params. + paramsKeeper.Subspace(msgfeestypes.ModuleName) // TODO[1760]: params: Migrate msgFees params. paramsKeeper.Subspace(wasmtypes.ModuleName) paramsKeeper.Subspace(triggertypes.ModuleName) // TODO[1760]: params: Migrate trigger params. diff --git a/app/upgrades.go b/app/upgrades.go index dcfac07a3e..ee7b1349e9 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -315,6 +315,6 @@ func migrateMetadataOSLocatorParams(ctx sdk.Context, app *App) { if metadataParamSpace.Has(ctx, metadatatypes.ParamStoreKeyMaxValueLength) { metadataParamSpace.Get(ctx, metadatatypes.ParamStoreKeyMaxValueLength, &maxValueLength) } - app.AttributeKeeper.SetParams(ctx, attributetypes.Params{MaxValueLength: uint32(maxValueLength)}) + app.MetadataKeeper.SetOSLocatorParams(ctx, metadatatypes.OSLocatorParams{MaxUriLength: uint32(maxValueLength)}) ctx.Logger().Info("Done migrating metadata os locator params.") } diff --git a/app/upgrades_test.go b/app/upgrades_test.go index 2157c49f02..c2fab3fff7 100644 --- a/app/upgrades_test.go +++ b/app/upgrades_test.go @@ -403,7 +403,7 @@ func (s *UpgradeTestSuite) TestUmber() { "INF Migrating attribute params.", "INF Done migrating attribute params.", "INF Migrating metadata os locator params.", - "INF Done migrating metadata os locatorparams.", + "INF Done migrating metadata os locator params.", "INF Starting module migrations. This may take a significant amount of time to complete. Do not restart node.", "INF Updating IBC AllowedClients.", "INF Done updating IBC AllowedClients.",