Skip to content

Commit

Permalink
Added auth parameter key table
Browse files Browse the repository at this point in the history
  • Loading branch information
Eengineer1 committed Feb 27, 2024
1 parent 55d93fa commit bf37046
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,8 @@ func (app *App) RegisterTendermintService(clientCtx client.Context) {
func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino, key, tkey storetypes.StoreKey) paramskeeper.Keeper {
paramsKeeper := paramskeeper.NewKeeper(appCodec, legacyAmino, key, tkey)

paramsKeeper.Subspace(authtypes.ModuleName)
//nolint: staticcheck
paramsKeeper.Subspace(authtypes.ModuleName).WithKeyTable(authtypes.ParamKeyTable())
//nolint: staticcheck
paramsKeeper.Subspace(banktypes.ModuleName).WithKeyTable(banktypes.ParamKeyTable())
paramsKeeper.Subspace(stakingtypes.ModuleName).WithKeyTable(stakingtypes.ParamKeyTable())
Expand Down

0 comments on commit bf37046

Please sign in to comment.