From 6c2ad275fbd57b2bd0037e06e54f612e549e86be Mon Sep 17 00:00:00 2001 From: Artur Troian Date: Fri, 25 Oct 2024 22:55:29 +0400 Subject: [PATCH] fix: use NewAppModuleBasics for genutil Signed-off-by: Artur Troian --- app/config.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/config.go b/app/config.go index f4f14b546..5a802fec9 100644 --- a/app/config.go +++ b/app/config.go @@ -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" @@ -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{},