Skip to content

Commit

Permalink
fix: add paramsclient.ProposalHandler to gov app module basic
Browse files Browse the repository at this point in the history
  • Loading branch information
dadamu committed Nov 15, 2023
1 parent 164ff0b commit fe3bed7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/app_module_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ import (
govclient "github.com/cosmos/cosmos-sdk/x/gov/client"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
minttypes "github.com/cosmos/cosmos-sdk/x/mint/types"
paramsclient "github.com/cosmos/cosmos-sdk/x/params/client"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
Expand Down Expand Up @@ -259,7 +260,9 @@ func GetAppConfig() depinject.Config {
map[string]module.AppModuleBasic{
genutiltypes.ModuleName: genutil.NewAppModuleBasic(genutiltypes.DefaultMessageValidator),
govtypes.ModuleName: gov.NewAppModuleBasic(
[]govclient.ProposalHandler{},
[]govclient.ProposalHandler{
paramsclient.ProposalHandler,
},
),
},
))
Expand Down

0 comments on commit fe3bed7

Please sign in to comment.