Skip to content

Commit

Permalink
fix: use NewAppModuleBasics for genutil
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Troian <[email protected]>
  • Loading branch information
troian committed Oct 25, 2024
1 parent f071ba4 commit 6c2ad27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"github.com/cosmos/cosmos-sdk/x/evidence"
feegrantmodule "github.com/cosmos/cosmos-sdk/x/feegrant/module"
"github.com/cosmos/cosmos-sdk/x/genutil"
genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types"
"github.com/cosmos/cosmos-sdk/x/gov"
govclient "github.com/cosmos/cosmos-sdk/x/gov/client"
"github.com/cosmos/cosmos-sdk/x/mint"
Expand All @@ -37,7 +38,7 @@ var mbasics = module.NewBasicManager(
// authorizations
authzmodule.AppModuleBasic{},
// genesis utilities
genutil.AppModuleBasic{},
genutil.NewAppModuleBasic(genutiltypes.DefaultMessageValidator),
// tokens, token balance.
bank.AppModuleBasic{},
capability.AppModuleBasic{},
Expand Down

0 comments on commit 6c2ad27

Please sign in to comment.