Skip to content

Commit

Permalink
test: feeparam register fix
Browse files Browse the repository at this point in the history
  • Loading branch information
deepan95dev committed Feb 27, 2024
1 parent 0beed4a commit 640da27
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1047,6 +1047,14 @@ func (app *App) RegisterUpgradeHandlers() {
ctx.Logger().Info("Handler for upgrade plan: " + upgradeV2.UpgradeName)
bankSubspace := app.GetSubspace(banktypes.ModuleName)
bankSubspace.Set(ctx, didtypes.ParamStoreKeyFeeParams, banktypes.DefaultParams())

// Add defaults for DID module subspace
didSubspace := app.GetSubspace(didtypes.ModuleName)
didSubspace.Set(ctx, didtypes.ParamStoreKeyFeeParams, didtypes.DefaultFeeParams())

// Add defaults for resource subspace
resourceSubspace := app.GetSubspace(resourcetypes.ModuleName)
resourceSubspace.Set(ctx, resourcetypes.ParamStoreKeyFeeParams, resourcetypes.DefaultFeeParams())
// Migrate Tendermint consensus parameters from x/params module to a
// dedicated x/consensus module.
baseapp.MigrateParams(ctx, baseAppLegacySS, &app.ConsensusParamsKeeper)
Expand Down

0 comments on commit 640da27

Please sign in to comment.