Skip to content

Commit

Permalink
Switch to param key table
Browse files Browse the repository at this point in the history
  • Loading branch information
Eengineer1 committed Feb 27, 2024
1 parent 2532558 commit ef20e1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino
paramsKeeper := paramskeeper.NewKeeper(appCodec, legacyAmino, key, tkey)

paramsKeeper.Subspace(authtypes.ModuleName)
paramsKeeper.Subspace(banktypes.ModuleName)
paramsKeeper.Subspace(banktypes.ModuleName).WithKeyTable(banktypes.ParamKeyTable())

Check failure on line 974 in app/app.go

View workflow job for this annotation

GitHub Actions / Lint / Golang

SA1019: banktypes.ParamKeyTable is deprecated: ParamKeyTable for bank module. (staticcheck)
paramsKeeper.Subspace(stakingtypes.ModuleName)
paramsKeeper.Subspace(minttypes.ModuleName)
paramsKeeper.Subspace(distrtypes.ModuleName)
Expand Down
15 changes: 0 additions & 15 deletions app/upgrades/v2/upgrade.go

This file was deleted.

0 comments on commit ef20e1a

Please sign in to comment.