Skip to content

Commit

Permalink
fix genesis checker
Browse files Browse the repository at this point in the history
  • Loading branch information
jhernandezb committed Feb 22, 2024
1 parent db0b081 commit 0bb7787
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
"github.com/cosmos/cosmos-sdk/x/genutil"

wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
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"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
Expand Down Expand Up @@ -54,7 +55,7 @@ func getGovProposalHandlers() []govclient.ProposalHandler {
var (
ModuleBasics = module.NewBasicManager(
auth.AppModuleBasic{},
genutil.AppModuleBasic{},
genutil.NewAppModuleBasic(genutiltypes.DefaultMessageValidator),
bank.AppModuleBasic{},
capability.AppModuleBasic{},
staking.AppModuleBasic{},
Expand Down
1 change: 1 addition & 0 deletions cmd/noisd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ func initRootCmd(rootCmd *cobra.Command, encodingConfig params.EncodingConfig) {
// add keybase, auxiliary RPC, query, and tx child commands
rootCmd.AddCommand(
rpc.StatusCommand(),
genutilcli.GenesisCoreCommand(encodingConfig.TxConfig, app.ModuleBasics, app.DefaultNodeHome),
queryCommand(),
txCommand(),
keys.Commands(app.DefaultNodeHome),
Expand Down

0 comments on commit 0bb7787

Please sign in to comment.